diff options
author | jlam <jlam> | 2002-03-15 20:08:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-03-15 20:08:17 +0000 |
commit | 74f949f815b042865be5bc2faa83123c1aa0c48b (patch) | |
tree | 5e0b4f512785cdb206c6a595d89c1fc4742e4902 /mk | |
parent | 89052609a3339952cc72b5cb5d508a69c7574b59 (diff) | |
download | pkgsrc-74f949f815b042865be5bc2faa83123c1aa0c48b.tar.gz |
Allow INSTALL/DEINSTALL scripts to use ${INSTALL_INFO}.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.install.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk index 8119b925ca8..3018215cebf 100644 --- a/mk/bsd.pkg.install.mk +++ b/mk/bsd.pkg.install.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.install.mk,v 1.16 2002/01/22 17:46:52 jlam Exp $ +# $NetBSD: bsd.pkg.install.mk,v 1.17 2002/03/15 20:08:17 jlam Exp $ # # This Makefile fragment is included by package Makefiles to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -129,10 +129,14 @@ FILES_SUBST+= SUPPORT_FILES_PERMS=${SUPPORT_FILES_PERMS:Q} # Default to not installing the rc.d scripts automatically. INSTALL_RCD_SCRIPTS?= NO +RC_PKG_CONF?= /etc/defaults/rc.pkg.conf + .if defined(INSTALL_RCD_SCRIPTS) && (${INSTALL_RCD_SCRIPTS} == NO) FILES_SUBST+= RCD_SCRIPTS= +FILES_SUBST+= RC_PKG_CONF=/dev/null .else FILES_SUBST+= RCD_SCRIPTS=${RCD_SCRIPTS:Q} +FILES_SUBST+= RC_PKG_CONF=${RC_PKG_CONF:Q} .endif FILES_SUBST+= RCD_SCRIPTS_MODE=${RCD_SCRIPTS_MODE} FILES_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR} @@ -178,6 +182,7 @@ FILES_SUBST+= GROUPADD=${GROUPADD:Q} FILES_SUBST+= GTAR=${GTAR:Q} FILES_SUBST+= HEAD=${HEAD:Q} FILES_SUBST+= ID=${ID:Q} +FILES_SUBST+= INSTALL_INFO=${INSTALL_INFO:Q} FILES_SUBST+= LN=${LN:Q} FILES_SUBST+= MKDIR=${MKDIR:Q} FILES_SUBST+= MV=${MV:Q} |