aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Introduce new variable MASTER_SITE_INDEX, to allow mirroring ofKirill Ponomarev2004-12-171-1/+2
| | | | | | | | | | INDEX files. PR: ports/74709 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> Notes: svn path=/head/; revision=124303
* As previously announced, remove ports/picobsd/ssh-picobsd due to long-Mark Linimon2004-11-281-1/+0
| | | | | | | | | | standing build problems. Since it was the last port in the picobsd category, remove it, too. Discussed with: kris Notes: svn path=/head/; revision=122703
* Allow to override fetch option by $FETCHINDEX variable.Jun Kuriyama2004-11-161-1/+2
| | | | | | | Approved by: portmgr (krion) Notes: svn path=/head/; revision=121741
* - In fetchindex target:Pav Lucistnik2004-11-151-1/+1
| | | | | | | | | | Fetch bzip2 compressed copy of INDEX and decompress locally. This should cut down both time and bandwidth. Approved by: kris (portmgr hat) Notes: svn path=/head/; revision=121702
* * Be even more explicit about partial ports trees being unsupportedKris Kennaway2004-07-141-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for INDEX builds [1] * Remove the parallel target from Makefile; this is heavily tied to the package build cluster and can be better done in the makeparallel script (commit to follow) [2] * Extend the format of INDEX to separately list the EXTRACT/PATCH/FETCH_DEPENDS instead of lumping them all in together with BUILD_DEPENDS. The three new fields are appended to the end of the record in that order. [2] * Change BROKEN to IGNORE in BROKEN_WITH_MYSQL failure code [3] * Support non-default PREFIX for perl 5.00503 [5] * Use pkg_info -I instead of ls when searching for conflicts [6] * Allow local customization of the port subdirectories by including ${.CURDIR}/Makefile.local in bsd.subdir.mk if it exists [7] * Fix 'make search' when ${PORTSDIR} is a symlink to a directory name containing extended regexp metacharacters [8] Submitted by: linimon [1] [3], kris [2], lth [4], sem [5], eik [5] [6], Roman Neuhauser <neuhauser@chello.cz> [7] PR: 68299 [1], 67705 [3], 67264 [4], 59696 [5], 66568 [6], 68072 [7] Notes: svn path=/head/; revision=113603
* Be more explicit about INDEX builds not being supported with partialKris Kennaway2004-06-111-4/+5
| | | | | | | or out-of-date ports collections. Notes: svn path=/head/; revision=111317
* * Support verbose index builds with INDEX_VERBOSE [1]Kris Kennaway2004-06-101-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't assume root is using /bin/sh when switching credentials to configure OPTIONS. [2] * Support glob expressions in USE_GETTEXT to allow more flexibility in the face of future gratuitous library version bumps by the gettext developers [3]: USE_GETTEXT=yEs # Works as before (case-insensitive) USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions # in the LIB_DEPENDS * Correctly register dependencies when a non-system perl port is used on 4.x [4] * Extend 'make search' support to allow much more flexible searching. Syntax will be documented in CHANGES for brevity. [5] * Reorder the post-install-script target to before add-plist-info for consistency [6] * Various fixes to support port operations when a port directory exists under /usr/obj [7] * Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH dependencies since many ports require perl in those stages [8] * Move info file deregistration later in the deinstallation process so it works properly. [9] * Improve wording in EXPIRATION_DATE message. [10] * Fix dependencies for XFREE86_VERSION==3 (obtain imake from x11/XFree86 now that the former port is gone) [11] * While building index, treat non-existent dependencies as fatal. Previously the error was being hidden by the stderr redirection. [12] * Don't always retry BROKEN ports when package building (it is taking too much time to continually rebuild ports that are usually going to really be broken). Set TRYBROKEN if you want to attempt a build of a BROKEN port. [12] * Revert incorrect change from 1.487 relating to ALL-DEPENDS-LIST [13] PR: 24214 [1], 67529 [2], 63937 [3], 65554 [4], 40699 [5], 59162 [6], 63372 66567 [7], 63394 [8], 65304 [9], 65931 [10], 66565 [11], 66743 [13] Submitted by: roam [1], will [1], hrs [2], mi [3], ade [4], Roman Neuhauser <roman@bellavista.cz> [5], Sergey Matveychuk <sem@ciam.ru> [6], gad [7], adamw [8], kris [8][12], dinoex [9], Alexey Dokuchaev <danfe@regency.nsu.ru> [10], eik [11][13] Notes: svn path=/head/; revision=111198
* Add "fetchindex" target. It fetches the recent index file (INDEX _or_Alexander Leidinger2004-05-251-0/+3
| | | | | | | | | | | | | | | INDEX-5). A note about the implementation: I had to add the call to chmod to make the index file readable to everyone. I'm a little bit surprised by this, since my umask is 022. Either fetch(1) doesn't respect the umask or it mirrors the permissions too (I haven't investigated this). Both possibilities aren't documented in the man-page. Approved by: kris (previous version without the chmod) Notes: svn path=/head/; revision=109965
* - Allow processing of info files in non-standard locations; theKris Kennaway2004-04-021-11/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INFO_PATH variable may be used to specify their location. It defaults to 'share/info' for the standard PREFIX, and 'info' when PREFIX == /usr. [1] - Remove the <category>/pkg/COMMENT files in favour of a COMMENT variable in <category>/Makefile [2] - Prevent patch breakage with VERSION_CONTROL=numbered [3] - Fix some instances of incorrect WRKDIRPREFIX handling. [4] - remove useless ${MKDIR} ${WRKSRC} in config target [5] - remove reference to OpenBSD [6] - Exempt devel/p5-Module-Build from the self-dependency in PERL_MODBUILD so that this port may use the option without getting an infinite dependency list [7] - The default PERL_ARCH is currently determined as a function of OSVERSION. It should however be a function of PERL_LEVEL since the correct value depends on what Perl version one has installed (older Perl versions use ${ARCH}-freebsd, newer versions use mach). [8] - Fix PORTDOCS on older (4.7, 5.0) systems [9] - Allow 'make parallel' to generate a working makefile when not all categories are present (this does not mean you'll be able to build all ports, unless you make sure they don't have external dependencies) [10] - Don't report symlinks as world-writable in the security check [11] - Fix a comment that was broken by a mismerged patch [12] - Clarify the meaning of USE_*, WANT_*, WITH_* and WITHOUT_* [13] - Don't set _CHKSUMFILES/_IGNOREFILES if CKSUMFILES/IGNOREFILES is empty and DIST_SUBDIR is set. [14] - Fix comment for DISTDIR [15] - Update the documentation of the USE_GL variable [16] - Check to see if NONEXISTENT exists, and fail with an error if it does [17] - Fix fetching of new distfiles in 'make makesum' when SIZE is set [18] - Consistently set MAKE_ENV when USE_GCC=3.2 or 3.3 are set [19] - Rework INDEX builds: [20] * Fix the bsd.port.subdir.mk code that is supposed to report index breakage (the fallback code wasn't actually being run because make would halt immediately following the error). This should help with INDEX error reports because it will immediately show the cause of failure, so we won't have to pull teeth to extract it from the submitter. * Streamline the 'make describe' code a bit. * Provide some basic instructions to the user when an index build fails, on when and how to report index build failures (turn this off with INDEX_QUIET=1) * Removed INDEX_NOSORT, because I couldn't imagine it to be very useful and it doesn't cost very much anyway. * Don't prevent INDEX builds from seeing the local host environment. Since a lot of users are using 'make index' thesedays they should get an index that reflects their local settings and installed ports. If you want to build a 'default' index that isn't influenced by local settings (e.g. for release builds), set the INDEX_PRISTINE variable. * Allows parallel INDEX builds (using make -j). The most obvious way of doing this doesn't work, because I/O from child makes is broken up into 2k chunks, and output lines from 'make describe' that exceed this length (*cough* GNOME *cough*) will be intertwined with the output of other makes, leading to a corrupted INDEX. The I/O interleaving can be disabled using 'make -P', but this inserts extraneous output of its own, and redirects stderr, making it useless for our purposes. Instead, I collect the output from the child make processes in temporary files and recombine them at the end. * The number of concurrent make processes to spawn can be set using INDEX_JOBS. By default this is set to 2, which seems to be a sweet spot for both single and dual-processor systems. On my tests I do not see any significant performance changes on UP, but on a dual 4.x system the build time drops by 47% (6 minute index builds on one test machine!). Depending on your disk and CPU hardware you might see further gains with INDEX_JOBS=4 or higher, so you might like to experiment to see what works best. On a dual 5.x system the performance gains do not seem to be as great (20-30%), but this is still a significant net win. PR: 55493 [1], 59651 [2], 61552 [3], 62247 [4], 62329 [5], 62337 [6], 62422 [7], 62441 [8], 62627 [9], 62983 [10], 63112 [11], 63297 [12], 63335 [13], 64029 [14], 64069 [15], 64236 [16], 64519 [17], 62958 [18], 64237 [19] Submitted by: lev [1], Matthew Seaman <m.seaman@infracaninophile.co.uk> [2], Joel Ray Holveck <joelh@piquan.org> [3], ade [4], Sergey Matveychuk <sem@ciam.ru> [5], markus [6], mat [7], des [8], eik [9], Dmitry Morozovsky <marck@rinet.ru> [10], Andrew <andrew@ugh.net.au> [11], vs [12], linimon [13], edwin [14][15], gerald [16], marcus[17][18], kris [19][20] Notes: svn path=/head/; revision=105947
* Say hello to the new "net-mgmt" category. There are probably moreGarrett Wollman2004-02-231-0/+1
| | | | | | | | | | ports that belong here than the ones I have identified and moved in this, first, pass. Approved in principle by: marcus Notes: svn path=/head/; revision=101812
* Tie x11-themes into the build now that it contains some ports.Joe Marcus Clarke2004-02-201-0/+1
| | | | Notes: svn path=/head/; revision=101469
* Tie accessibility to the build now that it has some ports.Joe Marcus Clarke2004-01-221-0/+1
| | | | Notes: svn path=/head/; revision=98775
* Tie arabic to the build now that it has some ports.Joe Marcus Clarke2003-11-081-0/+1
| | | | Notes: svn path=/head/; revision=93445
* Tie the dns category to the build now that it has some ports.Joe Marcus Clarke2003-08-301-0/+1
| | | | Notes: svn path=/head/; revision=88040
* Connect polish to the buildTilman Keskinoz2003-08-191-0/+1
| | | | | | | | | | | | Remove the Repocopied ports. PR: 53797 Submitted by: Aleksander Fafula <alex@fafula.com> Approved by: portmgr(marcus) Repocopied by: joe Notes: svn path=/head/; revision=87281
* Define the default SUP program to be cvsup.Josef Karthauser2003-07-121-0/+1
| | | | | | | PR: ports/15992 Notes: svn path=/head/; revision=84776
* With CVS_UPDATE, use read-only repository mode by default.Ruslan Ermilov2003-03-061-1/+1
| | | | Notes: svn path=/head/; revision=77030
* In a spirit of src/Makefile.inc1,v 1.142, get rid of "sticky"Ruslan Ermilov2003-03-051-1/+1
| | | | | | | files when updating ports sources with cvs(1). Notes: svn path=/head/; revision=76907
* Correct the bug in 'make index' that failed to substitute back theKris Kennaway2003-02-241-1/+1
| | | | | | | canonical PREFIX locations for /nonexistent* Notes: svn path=/head/; revision=76348
* I committed from the wrong tree, and the patch had a missingKris Kennaway2002-12-041-1/+1
| | | | | | | INDEX -> ${INDEXFILE} conversion. Notes: svn path=/head/; revision=71368
* Add the INDEXFILE variable, that defaults to INDEX-5 on 5.0 (500036) andKris Kennaway2002-12-041-12/+12
| | | | | | | | | | later, and INDEX on earlier systems. Use this in the 'make index' and associated targets. This is necessary to deal with the substantially different dependencies of ports between 4.x and 5.0 (e.g. ports that depend on perl). Notes: svn path=/head/; revision=71366
* Merge in some changes from Tools/portbuild/scripts/makeindex: setKris Kennaway2002-12-011-5/+8
| | | | | | | | | | LOCALBASE and X11BASE to bogus values during the index build, so 'make describe' does not pick up packages installed on the system and change the package name or list of dependencies (this will usually create a broken INDEX file). Notes: svn path=/head/; revision=71265
* Add several new real categories.Akinori MUSHA2002-11-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | - finance : Monetary, financial and related applications PR: ports/39102 Requested by: trevor - hungarian : Hungarian language support PR: ports/37576 Requested by: Janos Mohacsi <janos.mohacsi@bsd.hu> - multimedia : Multimedia software Requested by: many - portuguese : Portuguese language support PR: ports/35991 Requested by: trevor Notes: svn path=/head/; revision=70382
* Switch back to .tgz packages for 'parallel' target.Kris Kennaway2002-10-021-1/+1
| | | | Notes: svn path=/head/; revision=67290
* Switch to .tbz packages in generated makefile target.Kris Kennaway2002-09-151-1/+1
| | | | Notes: svn path=/head/; revision=66391
* Don't use cat(1) needlessly -- pipe the INDEX to awk(1).Will Andrews2001-12-231-1/+1
| | | | | | | | PR: 30099 Submitted by: schweikh Notes: svn path=/head/; revision=52042
* New category picobsd starts today.Satoshi Asami2001-04-221-0/+1
| | | | Notes: svn path=/head/; revision=41799
* Use single colons instead of double colons for "*-all" targets. I don't knowSatoshi Asami2001-03-251-2/+2
| | | | | | | why I used double colons here before. Notes: svn path=/head/; revision=40327
* Add new categories science and ukrainian.Satoshi Asami2001-03-241-0/+2
| | | | Notes: svn path=/head/; revision=40323
* Allow both SUP_UPDATE and CVS_UPDATE to be used, similar to src/MakefileJames E. Housley2000-10-311-5/+4
| | | | | | | | | PR: 17903 Submitted by: James Housley <jim@thehousleys.net> Reviewed by: billf Notes: svn path=/head/; revision=34512
* For "make parallel", provide out an extra target without the ".tgz".Satoshi Asami2000-09-271-1/+1
| | | | | | | | | | (Makes it easier to cut and paste, so you can do something like "make gnome-1.2".) Also change /a/asami/portbuild -> /var/portbuild. Notes: svn path=/head/; revision=33174
* New category french starts today!Satoshi Asami2000-09-221-0/+1
| | | | Notes: svn path=/head/; revision=32969
* Use the SUPHOST in the 'make update' if it's defined.Josef Karthauser2000-08-131-0/+3
| | | | Notes: svn path=/head/; revision=31606
* Add new category hebrew -- Hebrew language support.Satoshi Asami2000-07-311-0/+1
| | | | | | | Requested by: sada Notes: svn path=/head/; revision=31142
* Typo (ghostscript55htff -> ghostscript55httf).Satoshi Asami2000-07-191-1/+6
| | | | Notes: svn path=/head/; revision=30902
* Change a couple of "make"s to "cd ${.CURDIR} && make"s, otherwise youSatoshi Asami2000-04-121-2/+2
| | | | | | | | will get "make: don't know how to make /usr/ports/INDEX. Stop" type of weird errors when /usr/obj${.CURDIR} exists. Notes: svn path=/head/; revision=27460
* Additions to the 'make search' mechanism.Josef Karthauser2000-03-221-8/+0
| | | | | | | | | | | | | * You can now 'make search' from a ports subdirectory. This will will restrict the search to ports within this subdirectory. * Added an additional search option to search just the port names, e.g. 'make search name=foo' will only return ports that have 'foo' in their name. Approved by: asami Notes: svn path=/head/; revision=26963
* $Id$ -> $FreeBSD$Peter Wemm1999-08-311-1/+1
| | | | Notes: svn path=/head/; revision=21148
* Add new category "ftp".Satoshi Asami1999-08-021-1/+2
| | | | Notes: svn path=/head/; revision=20492
* Makefile:Satoshi Asami1999-07-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) Sort INDEX lines since with the new parallel patch, the lines can come in out of order. (see 2) Mk/bsd.port.subdir.mk: (2) Make the targets parallelizable. Submitted by: hoek Reviewed by: steve, among others Mk/bsd.port.mk: (3) Serious speedup of bsd.port.mk startup. In particular, this helps cut down "make index" time from an hour and a half to 8 minutes on our system with a parallel make describe (see 2). Try to pass unchanged variables down from parent makes instead of rerunning commands to define them, etc. Submitted by: hoek Reviewed by: steve, among others (4) Change a bunch of "FreeBSD.ORG"s and "freebsd.org"s to "FreeBSD.org". (5) XFree86 is now at version 3.3.4. (6) Update for gnome master sites. Submitted by: mharo (7) Remove old system tcl check, I don't think people with systems from way back are still submitting ports. (8) Fix comment on "make describe" line description (www site was missing). Notes: svn path=/head/; revision=20327
* Add new categories irc, java and x11-servers.Satoshi Asami1999-06-261-1/+4
| | | | Notes: svn path=/head/; revision=19813
* Better logic and typo fixing.Bill Fumerola1999-06-041-7/+11
| | | | | | | Submitted by: mharo Notes: svn path=/head/; revision=19206
* 'make update' in the ports directory.Bill Fumerola1999-06-011-1/+17
| | | | Notes: svn path=/head/; revision=19156
* (1) Rename "templates" to "Templates". The toplevel is gettingSatoshi Asami1999-01-261-2/+2
| | | | | | | | | | | | | | | | | | crowded and I don't want to confuse cvsup about what's in ports-base and what is not. (I.e., all uppercase files/directories are, all lowercase ones are not.) While I'm here, move the make_index script from templates to Tools. (2) Adjust the MASTER_SITE_OVERRIDE logic a bit. Formerly, it was not possible to specify both MASTER_SITE_OVERRIDE while still using MASTER_SITE_BACKUP as a backup, as they were tied in the implementation of MASTER_SITE_FREEBSD. You can now specify them independently if MASTER_SITE_FREEBSD is not set (in which case MASTER_SITE_BACKUP will be moved to the beginning of the list, like before). Notes: svn path=/head/; revision=16359
* Break "all" target into subtargets according to category. Change toSatoshi Asami1999-01-221-2/+5
| | | | | | | cope with new directory structure in ${buildroot}. Notes: svn path=/head/; revision=16261
* Make the search target a bit looser in its matching.Jordan K. Hubbard1999-01-131-2/+2
| | | | Notes: svn path=/head/; revision=16027
* Move Palm*-related programs to new "palm" category.Satoshi Asami1999-01-091-1/+2
| | | | | | | Reviewed by: the ports list Notes: svn path=/head/; revision=15943
* Break up the "plan9" category -- all the ports are where they belong, andSatoshi Asami1999-01-091-2/+1
| | | | | | | | | "plan9" is a virtual category now. Reviewed by: the ports list Notes: svn path=/head/; revision=15939
* Add new target "parallel" which creates a parallelizable Makefile forSatoshi Asami1998-12-281-1/+4
| | | | | | | | | building all packages. This is to be used in conjunction with the scripts under the "Tools" directory. Note this version has hardcoded paths and other general badness -- those will be fixed later. Notes: svn path=/head/; revision=15678
* Fast INDEX generation. See bsd.port.mk rev. 1.300 for details.Satoshi Asami1998-12-121-2/+3
| | | | | | | Submitted by: steve Notes: svn path=/head/; revision=15302