summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.install.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r--mk/bsd.pkg.install.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk
index a1df486aa80..4c01359c60e 100644
--- a/mk/bsd.pkg.install.mk
+++ b/mk/bsd.pkg.install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.23 2002/06/27 20:41:44 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.24 2002/07/24 20:30:06 jlam Exp $
#
# This Makefile fragment is included by package Makefiles to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -108,9 +108,10 @@ USE_USERGROUP= YES
# same way, but the package admin isn't prompted to customize the file
# at post-install time.
#
-# RCD_SCRIPTS works lists the basenames of the rc.d scripts. It's assumed that
-# they live in ${PREFIX}/etc/rc.d, and the scripts will be copied into
-# ${RCD_SCRIPTS_DIR} with ${RCD_SCRIPTS_MODE} permissions.
+# RCD_SCRIPTS works lists the basenames of the rc.d scripts. They are
+# expected to be found in ${RCD_SCRIPTS_EXAMPLEDIR}, and the scripts
+# will be copied into ${RCD_SCRIPTS_DIR} with ${RCD_SCRIPTS_MODE}
+# permissions.
#
CONF_FILES?= # empty
CONF_FILES_MODE?= 0644
@@ -121,6 +122,7 @@ SUPPORT_FILES_PERMS?= # empty
RCD_SCRIPTS?= # empty
RCD_SCRIPTS_MODE?= 0755
RCD_SCRIPTS_DIR?= /etc/rc.d
+RCD_SCRIPTS_EXAMPLEDIR?= ${PREFIX}/etc/rc.d
FILES_SUBST+= CONF_FILES=${CONF_FILES:Q}
FILES_SUBST+= CONF_FILES_MODE=${CONF_FILES_MODE}
FILES_SUBST+= CONF_FILES_PERMS=${CONF_FILES_PERMS:Q}
@@ -130,6 +132,7 @@ FILES_SUBST+= SUPPORT_FILES_PERMS=${SUPPORT_FILES_PERMS:Q}
FILES_SUBST+= RCD_SCRIPTS=${RCD_SCRIPTS:Q}
FILES_SUBST+= RCD_SCRIPTS_MODE=${RCD_SCRIPTS_MODE}
FILES_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR}
+FILES_SUBST+= RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR}
# OWN_DIRS contains a list of directories for this package that should be
# created and should attempt to be destroyed by the INSTALL/DEINSTALL