diff options
author | jlam <jlam@pkgsrc.org> | 2002-03-15 20:08:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-03-15 20:08:17 +0000 |
commit | 69df149ae508b2cea1f5031a1679ed704cc7d048 (patch) | |
tree | 5e0b4f512785cdb206c6a595d89c1fc4742e4902 /mk | |
parent | fb13e12d3b43a94dc352a628ea7c7e26b93b0665 (diff) | |
download | pkgsrc-69df149ae508b2cea1f5031a1679ed704cc7d048.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} |