summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-19 17:36:52 +0000
committerwiz <wiz@pkgsrc.org>2001-03-19 17:36:52 +0000
commit28b7180719de407b4621246e1d95251429f6b82a (patch)
tree5489974c77e1015352f4bde04a5820e418942b63 /Packages.txt
parent4b7c0a433ed64782a653b105e301da5ebab800df (diff)
downloadpkgsrc-28b7180719de407b4621246e1d95251429f6b82a.tar.gz
Document PLIST_SUBST.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt17
1 files changed, 14 insertions, 3 deletions
diff --git a/Packages.txt b/Packages.txt
index 91d804678e4..ac0a30f2857 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.144 2001/03/19 11:28:47 dmcmahill Exp $
+# $NetBSD: Packages.txt,v 1.145 2001/03/19 17:36:52 wiz Exp $
###########################################################################
==========================
@@ -788,7 +788,7 @@ to when dealing with the PLIST file (or files, see below!).
information on this target.
- 5.2 $PLIST_SRC
+ 5.2 ${PLIST_SRC}
================
To use one or more files as source for the PLIST used in generating the
@@ -796,8 +796,19 @@ binary package, set the variable PLIST_SRC to the names of that file(s).
The files are later concatenated using cat(1), and order of things is
important.
+ 5.3 ${PLIST_SUBST}
+ ==================
+
+Similar to MESSAGE_SUBST (see above), you can add variables and their
+expansions to this variable in the following way:
+
+ PLIST_SUBST+= SOMEVAR="somevalue"
+
+which replaces all occurances of ${SOMEVAR} in the PLIST with "somevalue".
+For the values which are replaced by default, please look in bsd.pkg.mk
+(and search for PLIST_SUBST).
- 5.3 Perl5 modules
+ 5.4 Perl5 modules
=================
Perl5 modules will install into different places depending on the version