summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorseb <seb>2003-12-13 22:15:11 +0000
committerseb <seb>2003-12-13 22:15:11 +0000
commit376293097bfaf7c8c90997dfa8ded91f06160c93 (patch)
tree9e48534edda922b1ebbf3e3a8c5139c5feb58c77 /mk
parent9dacafd23710e92171d4b8977272667d5c616136 (diff)
downloadpkgsrc-376293097bfaf7c8c90997dfa8ded91f06160c93.tar.gz
Improve, move around and bring up to date comments about print-PLIST
target.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 9c3bdf9f4d3..b5d2576f4db 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1319 2003/12/13 00:34:39 seb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1320 2003/12/13 22:15:11 seb Exp $
#
# This file is in the public domain.
#
@@ -4410,19 +4410,16 @@ print-pkg-size-depends:
###
### Automatic PLIST generation
### - files & symlinks first
-### - @exec/@unexec calls are added for info files
### - @dirrm statements last
### - empty directories are handled properly
### - dirs from mtree files are excluded
+### - substitute for platform or package specifics substrings
###
### Usage:
### - make install
### - make print-PLIST | brain >PLIST
###
-# Common (system) directories not to generate @dirrm statements for
-# Reads MTREE_FILE and extracts a list of sed commands that will
-# sort out which directories NOT to include into the PLIST @dirrm list
SUBST_PLIST_REPLACEMENT1= \
-e 's@${OPSYS}@\$${OPSYS}@' \
-e 's@${OS_VERSION:S/./\./g}@\$${OS_VERSION}@' \
@@ -4437,6 +4434,9 @@ SUBST_PLIST_REPLACEMENT2= \
-e 's@${PKGVERSION:S/./\./g}@\$${PKGVERSION}@' \
-e 's@${PKGLOCALEDIR}/locale@\$${PKGLOCALEDIR}/locale@'
+# Common (system) directories not to generate @dirrm statements for
+# Reads MTREE_FILE and generate an awk script that will
+# sort out which directories NOT to include into the PLIST @dirrm list
.if make(print-PLIST)
COMMON_DIRS!= ${AWK} 'BEGIN { \
i=0; \