summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-12-12 07:39:30 +0000
committerasami <asami@FreeBSD.org>1998-12-12 07:39:30 +0000
commit2da06b289548cde64f579509fa362683b2d0d9d4 (patch)
treef8dd82127ac02d66804e127fb11b39e7833a79a9 /share/mk/bsd.port.subdir.mk
parent12820b3719ae1bf04e407d00056aaa486f759f53 (diff)
downloadFreeBSD-src-2da06b289548cde64f579509fa362683b2d0d9d4.zip
FreeBSD-src-2da06b289548cde64f579509fa362683b2d0d9d4.tar.gz
(0) Fast INDEX generation. Only print out the directory name and
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.
Diffstat (limited to 'share/mk/bsd.port.subdir.mk')
-rw-r--r--share/mk/bsd.port.subdir.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/mk/bsd.port.subdir.mk b/share/mk/bsd.port.subdir.mk
index 8d63b00..45928f8 100644
--- a/share/mk/bsd.port.subdir.mk
+++ b/share/mk/bsd.port.subdir.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id: bsd.port.subdir.mk,v 1.25 1998/10/30 08:28:02 asami Exp $
+# $Id: bsd.port.subdir.mk,v 1.26 1998/11/08 10:29:53 asami Exp $
#
# The include file <bsd.port.subdir.mk> contains the default targets
# for building ports subdirectories.
@@ -29,7 +29,7 @@
#
# afterinstall, all, beforeinstall, build, checksum, clean,
# clean-for-cdrom, clean-restricted, configure, deinstall,
-# depend, depends, describe, extract, fetch, fetch-list,
+# depend, depends, describe, extract, fetch, fetch-list, ignorelist,
# install, package, package-loop, readmes, realinstall, reinstall, tags
#
@@ -82,7 +82,8 @@ ${SUBDIR}::
.for __target in all fetch fetch-list package package-loop extract configure \
build clean clean-for-cdrom clean-restricted \
deinstall depend depends describe distclean \
- reinstall tags checksum
+ reinstall tags checksum \
+ ignorelist
.if !target(${__target})
${__target}: _SUBDIRUSE
.endif
OpenPOWER on IntegriCloud