diff options
author | jlam <jlam> | 2002-06-22 02:48:35 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-06-22 02:48:35 +0000 |
commit | 5f8bbf85922d093ace5634a99957c989c8434386 (patch) | |
tree | 1f43bde483824893a84970061dbb80c33ea28c4f /mk/bsd.pkg.install.mk | |
parent | 71dd60f2cb4eb75e769c5fc189d6698009e49604 (diff) | |
download | pkgsrc-5f8bbf85922d093ace5634a99957c989c8434386.tar.gz |
Change PKG_CREATE_USERGROUP and PKG_CONFIG so that their values are merely
defaults for the INSTALL/DEINSTALL scripts. The environment variables of
the same name take precedence during installation of a binary package.
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r-- | mk/bsd.pkg.install.mk | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk index 49b8d965103..fe5415d0c22 100644 --- a/mk/bsd.pkg.install.mk +++ b/mk/bsd.pkg.install.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.install.mk,v 1.19 2002/06/20 20:15:47 jlam Exp $ +# $NetBSD: bsd.pkg.install.mk,v 1.20 2002/06/22 02:48:35 jlam Exp $ # # This Makefile fragment is included by package Makefiles to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -153,6 +153,24 @@ FILES_SUBST+= MAKE_DIRS_PERMS=${MAKE_DIRS_PERMS:Q} FILES_SUBST+= OWN_DIRS=${OWN_DIRS:Q} FILES_SUBST+= OWN_DIRS_PERMS=${OWN_DIRS_PERMS:Q} +# PKG_CREATE_USERGROUP indicates whether the INSTALL script should +# automatically add any needed users/groups to the system using +# useradd/groupadd. It is either YES or NO and defaults to YES. +# +# PKG_CONFIG indicates whether the INSTALL/DEINSTALL scripts should do +# automatic config file and directory handling, or if it should +# merely inform the admin of the list of required files and +# directories needed to use the package. It is either YES or NO +# and defaults to YES. +# +# These values merely set the defaults for INSTALL/DEINSTALL scripts, but +# they may be overridden by resetting them in the environment. +# +PKG_CREATE_USERGROUP?= YES +PKG_CONFIG?= YES +FILES_SUBST+= PKG_CREATE_USERGROUP=${PKG_CREATE_USERGROUP} +FILES_SUBST+= PKG_CONFIG=${PKG_CONFIG} + # Substitute for various programs used in the DEINSTALL/INSTALL scripts. FILES_SUBST+= AWK=${AWK:Q} FILES_SUBST+= BASENAME=${BASENAME:Q} |