summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.subdir.mk
Commit message (Collapse)AuthorAgeFilesLines
* Enable testing of customized variants of bsd.port.mk andeik2004-07-021-1/+2
| | | | | | | | | | | | | bsd.port.subdir.mk, without the overhead of an additional ports tree. Use make BSDPORTMK='${PORTSDIR}/My.Mk/bsd.port.mk' target and make BSDPORTSUBDIRMK='${PORTSDIR}/My.Mk/bsd.port.subdir.mk' target to build with the alternate versions. MFC after: 3 days
* Style.ru2002-04-191-1/+2
|
* Add $FreeBSD$peter2000-12-291-0/+2
|
* Move bsd.port.*mk to under ${PORTSDIR}/Mk (already repository copied).asami1999-01-261-184/+2
| | | | | | There are only skeletons left here; they merely serve as a backup to include the real versions under ${PORTSDIR}/Mk while we update the ports tree to include them directly.
* (0) Fast INDEX generation. Only print out the directory name andasami1998-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.
* (1) New variable MAKE_ARGS: will be appended to build/install make argumentasami1998-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>
* (1) Add new variables LOOP_VAR and LOOP_OPTIONS to implement building severalasami1998-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.
* Add "deinstall" to list of targets. This is only fair since "install" andasami1998-08-261-3/+4
| | | | "reinstall" are already here. :)
* Add new target "checksubdirs". It will warn about any subdirectories thatasami1997-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.).
* target(__target) -> target(${__target})wosch1997-11-101-2/+2
| | | | | PR: bin/4736 Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
* Convert <, > and & into &lt;, &gt; and &amp; in port names, COMMENT andfenner1997-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.
* Add "distclean" to list of targets to descend into subdirs for.asami1997-08-221-2/+2
|
* Add comments.wosch1997-03-091-0/+32
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Skip non-existent subdirectories. The diff is rather large becauseasami1997-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")
* (1) Add NetBSD support. Closes PR bin/1643.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
* use .for loop for common targetswosch1996-04-091-51/+6
|
* Thanks for the overwhelming response (which can be only summarized by theasami1996-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.
* remove BINGRP?= BINOWN?= BINMODE?=wosch1996-03-241-4/+1
|
* Add fetch-list command for Rodjkh1995-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.
* Add support to miss out ``DUDS'' subdirectories. See thread in freebsd-portsgpalmer1995-03-031-10/+20
| | | | for more.
* Rename check-md5 target to checksum.jkh1995-01-051-3/+3
| | | | Submitted by: gpalmer
* Add describe target support.jkh1995-01-031-1/+5
|
* bsd.port.mk: missing semicolon addedgpalmer1994-12-171-1/+5
| | | | bsd.port.subdir.mk: added check-md5 as target
* Add reinstall.jkh1994-11-171-1/+5
|
* Add support for DEBUG_FLAGS. If you say something like:jkh1994-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).
* Remove obsolete bundle target, add new fetch target.jkh1994-09-141-5/+5
|
* Whoops - left out the package rule!jkh1994-08-221-1/+5
| | | | Submitted by: jkh
* New bsd.port.subdir.mk file for use by ports. This groks all thejkh1994-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
* I had to bite the bullet: There's now a port.subdir.mk that does the rightjkh1994-08-221-0/+84
thing with recursive build, configure, bundle or extract targets. Reviewed by: Submitted by:
OpenPOWER on IntegriCloud