aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.subdir.mk
Commit message (Collapse)AuthorAgeFilesLines
* Id->FreeBSD rename bisDavid E. O'Brien1999-08-251-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=20939
* Oops, forgot to commit this. Typo.Satoshi Asami1999-07-231-2/+2
| | | | | | | Submitted by: hoek Notes: svn path=/head/; revision=20328
* Makefile:Satoshi Asami1999-07-231-49/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* (1) Make it clear that only I am allowed to commit to bsd.port.mk.Satoshi Asami1999-04-281-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (2) New variable USE_ZIP -- will change EXTRACT_SUFX to ".zip" and extract commands/arguments accordingly. Submitted by: jseger (3) Use ${GREP} in some places where grep was used. (4) A little update to the MASTER_SITES_GNU list. Submitted by: cpiazza@home.net (5) New target clean-for-cdrom-list and clean-restricted-list -- will print out commands to delete un-cdromable or unredistributable files. Save them into a shell script for later use. (6) Add CXXFLAGS="${CXXFLAGS}" to configure's environment. Submitted by: reg@shale.csir.co.za PR: 11353 (part 3/3) (7) Print out a warning if you try to install without being root. Abort if ${PREFIX} is not writable. (8) Add web site to INDEX as tenth field. Reviewed by: wosch, steve, scrappy Notes: svn path=/head/; revision=18174
* Check for missing directories (listed in SUBDIR but non-existent) inSatoshi Asami1999-04-121-1/+6
| | | | | | | "checksubdirs" too. Notes: svn path=/head/; revision=17811
* Forgot to change "templates" to "Templates" in this file.Satoshi Asami1999-01-291-3/+3
| | | | | | | PR: 9761 Notes: svn path=/head/; revision=16419
* (0) Fast INDEX generation. Only print out the directory name andSatoshi Asami1998-12-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't recurse in "make describe". The new INDEX target in ports/Makefile invokes a perl script to recurse and convert them into package names. While I'm here, change the name of targets and move them around a little bit for the sake of consistency. It is also probably worth noting here that the meaning of the "build dependency" list in INDEX has been changed slightly changed. The old list was "build depends and its build depends" -- not particularly useful if you had things like autoconf, which run-depend on gm4 (you install all the things listed here and you'll get an autoconf that won't run). It is now "build depends and its run depends" -- you install everything listed here, and you'll be able to build the port. Submitted by: steve (0') Fast README.html generation. It uses ports/INDEX to find dependencies instead of embarking on to a recursive loop. Submitted by: steve (1) Remove NO_WRKDIR and NO_EXTRACT. Their functionality are easily replacable with NO_WRKSUBDIR=t and EXTRACT_ONLY= (nothing on right side), and they get in the way of read-only port trees. (2) Surround first few variable definitions with ".if !defined()". This will make cross-compilation easier and also speed up make processes. (3) Call sysctl with absolute path. Prefer the one in /sbin over the one in /usr/sbin. (4) Add four new variables PKGINSTALL?= ${PKGDIR}/INSTALL PKGDEINSTALL?= ${PKGDIR}/DEINSTALL PKGREQ?= ${PKGDIR}/REQ PKGMESSAGE?= ${PKGDIR}/MESSAGE and use them in PKG_ARGS. Frobbing with PKG_ARGS directly is strongly discouraged. (5) Change PKG_SUFX to ".tar" (instead of ".tgz") if PKG_NOCOMPRESS is defined. This is intended only for our own use. (6) Add more sites to MASTER_SITE_GNU. Submitted by: billf (7) Override MANUAL_PACKAGE_BUILD if PARALLEL_PACKAGE_BUILD is defined. This is intended only for our own use. (8) Add new target "ignorelist" which will print out the package name if the port is not going to be built on this machine. This is intended only for our own use. (9) Make mtree a little quieter. Notes: svn path=/head/; revision=15300
* (1) New variable MAKE_ARGS: will be appended to build/install make argumentSatoshi Asami1998-11-081-3/+5
| | | | | | | | | | | | | | | | | | list. The old MAKE_FLAGS was a little hard to use since it had a weird default ("-f"). Suggested by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> (2) Add new targets clean-restricted and clean-for-cdrom, which will delete RESTRICTED and NO_CDROM packages and distfiles from the top. Reviewed by: jkh (3) Add depends to list of things to recurse on. It will help people who are trying to fetch some ports plus their dependencies. Requested by: Chris Dillon <cdillon@wolves.k12.mo.us> Notes: svn path=/head/; revision=14405
* (1) Add new variables LOOP_VAR and LOOP_OPTIONS to implement building severalSatoshi Asami1998-10-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages from a single port. LOOP_VAR is the name of the variable and LOOP_OPTIONS is a space-separated list of values it should take. When these are set, the target "package-loop" will go through a clean and package loop for all the options. The "package-loop" target is defined as "package" when LOOP_VAR is not defined, so if you are in the business for building packages, you should use "package-loop" all the time. (This target is added to bsd.port.subdir.mk too.) Also, the "describe" target prints out multiple lines so that all options will go into the INDEX. (In other words, if you define these variables, INDEX is going to look real silly if you don't put ${${LOOP_VAR}} in PKGNAME.) Seconded by: obrien ("ANYTHING") (2) Turn off regexp support for LIB_DEPENDS. It is a fixed string of the form <NAME>.<VER> now. Tested by: several rounds of complete package builds (3) Check checksum even if NO_EXTRACT is defined. (4) Cosmetic fix for message in MANUAL_PACKAGE_BUILD case. Notes: svn path=/head/; revision=14257
* Add "deinstall" to list of targets. This is only fair since "install" andSatoshi Asami1998-08-261-3/+4
| | | | | | | "reinstall" are already here. :) Notes: svn path=/head/; revision=12870
* Add new target "checksubdirs". It will warn about any subdirectories thatSatoshi Asami1997-11-201-1/+29
| | | | | | | | are not in the SUBDIR list. It also knows about the "standard" directories that are to be ignored ("CVS", "distfiles", etc.). Notes: svn path=/head/; revision=8715
* target(__target) -> target(${__target})Wolfram Schneider1997-11-101-2/+2
| | | | | | | | PR: bin/4736 Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at> Notes: svn path=/head/; revision=8541
* Convert <, > and & into &lt;, &gt; and &amp; in port names, COMMENT andBill Fenner1997-11-061-7/+14
| | | | | | | | | | | DESCR files when building README.html . Don't use control characters in sed statement. Problems reported by "Chris G. Demetriou" <cgd@pa.dec.com> in NetBSD PR pkg/4341. Notes: svn path=/head/; revision=8508
* Add "distclean" to list of targets to descend into subdirs for.Satoshi Asami1997-08-221-2/+2
| | | | Notes: svn path=/head/; revision=7655
* Add comments.Wolfram Schneider1997-03-091-0/+32
| | | | Notes: svn path=/head/; revision=5921
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=5716
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=5349
* Skip non-existent subdirectories. The diff is rather large becauseSatoshi Asami1997-01-131-10/+11
| | | | | | | | | | | the original logic went into a section of code assuming some incarnation is there, but it's basically a "test -d" fix. Closes PR ports/2082. Reviewed by: max ("although I didn't test it, it looks fine") Notes: svn path=/head/; revision=5328
* (1) Add NetBSD support. Closes PR bin/1643.Satoshi Asami1996-11-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Jason Thorpe <thorpej@nas.nasa.gov> (2) Remove the bogus "CAT+=" definition. Closes PR ports/1703. Submitted by: Peter Childs <pjchilds@imforei.apana.org.au> (3) Change MKDIR to "/bin/mkdir -p", remove "-p" from ${MKDIR} invocations. Closes PR ports/1901. Submitted by: obrien (4) Add a new macro variable COMPRESS_MAN, which will evaluate to gzip if NOMANCOMPRESS isn't set (default), or true if it is. (5) Add a new variable NO_CHECKSUM, which will disable the md5 checksum. Submitted by: jkh (6) Also, move NO_PATCH and NO_PACKAGE checks to right place in invocation order. (7) Check for LIB_DEPENDS before installation too. (It used to check only before extraction.) Forgotten a long time ago by: asami Notes: svn path=/head/; revision=4232
* use .for loop for common targetsWolfram Schneider1996-04-091-51/+6
| | | | Notes: svn path=/head/; revision=2964
* Thanks for the overwhelming response (which can be only summarized by theSatoshi Asami1996-04-011-1/+44
| | | | | | | | | | | | | | | | | | | word: "zilch"). I guess the only way to get people try and comment on these kind of things is to shove it down their throat.... ;) Anyway, here's a set of changes required for auto-generation of READMEs in ports directories. Necessary changes and additions of templates to the ports tree will follow shortly. Eventually I'll commit all the generated READMEs to the tree, but that will be in the rather distant future. For now, I encourage anyone with a -current systam and a matching ports tree to do a "make readmes" at the top level and see what they get. Next step will be to add pkg/{COMMENT,DESCR} to all the categories. Notes: svn path=/head/; revision=2931
* remove BINGRP?= BINOWN?= BINMODE?=Wolfram Schneider1996-03-241-4/+1
| | | | Notes: svn path=/head/; revision=2880
* Add fetch-list command for RodJordan K. Hubbard1995-03-211-4/+10
| | | | | | | | Use ECHO_MSG macro for printing "===>" line things so that I can now turn those OFF when I don't want them. Notes: svn path=/head/; revision=1176
* Add support to miss out ``DUDS'' subdirectories. See thread in freebsd-portsGary Palmer1995-03-031-10/+20
| | | | | | | for more. Notes: svn path=/head/; revision=1081
* Rename check-md5 target to checksum.Jordan K. Hubbard1995-01-051-3/+3
| | | | | | | Submitted by: gpalmer Notes: svn path=/head/; revision=706
* Add describe target support.Jordan K. Hubbard1995-01-031-1/+5
| | | | Notes: svn path=/head/; revision=674
* bsd.port.mk: missing semicolon addedGary Palmer1994-12-171-1/+5
| | | | | | | bsd.port.subdir.mk: added check-md5 as target Notes: svn path=/head/; revision=588
* Add reinstall.Jordan K. Hubbard1994-11-171-1/+5
| | | | Notes: svn path=/head/; revision=404
* Add support for DEBUG_FLAGS. If you say something like:Jordan K. Hubbard1994-09-161-1/+3
| | | | | | | | | | make DEBUG_FLAGS=-g2 You can compile something for debugging at debugging level 2. It will also take care not to strip the resulting executable(s). Notes: svn path=/head/; revision=101
* Remove obsolete bundle target, add new fetch target.Jordan K. Hubbard1994-09-141-5/+5
| | | | Notes: svn path=/head/; revision=99
* Whoops - left out the package rule!Jordan K. Hubbard1994-08-221-1/+5
| | | | | | | Submitted by: jkh Notes: svn path=/head/; revision=29
* New bsd.port.subdir.mk file for use by ports. This groks all theJordan K. Hubbard1994-08-221-13/+5
| | | | | | | | | | | | | | | | | | | | | | special ports building targets and will recurse properly. Sorry, Julian E - no fancy prompts, just recursion! :-) Added a `bundle' target. Purpose is as follows: You want to give someone a complete tree sans distfiles (for sticking on CDROM perhaps?) but the difficulty there is that the first time the user types `make clean', all the unpacked sources are gone again. Typing `make bundle' recreates the original distfile if it can, so someone can "back up" their unpacked tree easily with one command. Whoops, just thought of something - it should warn if you configured the working source. Ok, next commit! :) Submitted by: jkh Notes: svn path=/head/; revision=19
* I had to bite the bullet: There's now a port.subdir.mk that does the rightJordan K. Hubbard1994-08-221-0/+84
thing with recursive build, configure, bundle or extract targets. Reviewed by: Submitted by: Notes: svn path=/head/; revision=18