summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.install.mk
diff options
context:
space:
mode:
authorreed <reed>2004-12-28 02:47:40 +0000
committerreed <reed>2004-12-28 02:47:40 +0000
commit95d9ea7ca0e84db750ca5ac92bf4ff8576335cc1 (patch)
tree8823f72baedbd3b5995504940cccdd29b3f0c027 /mk/bsd.pkg.install.mk
parentf63ad83359eedc654a5fdd02a3a9cb8fcf6bb7be (diff)
downloadpkgsrc-95d9ea7ca0e84db750ca5ac92bf4ff8576335cc1.tar.gz
The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r--mk/bsd.pkg.install.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk
index 6e9d4fba8d2..268f0c38804 100644
--- a/mk/bsd.pkg.install.mk
+++ b/mk/bsd.pkg.install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.66 2004/12/27 06:41:50 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.67 2004/12/28 02:47:40 reed Exp $
#
# This Makefile fragment is included by bsd.pkg.mk to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -170,7 +170,7 @@ SUPPORT_FILES_MODE?= 0644
SUPPORT_FILES_PERMS?= # empty
RCD_SCRIPTS?= # empty
RCD_SCRIPTS_MODE?= 0755
-RCD_SCRIPTS_EXAMPLEDIR?= etc/rc.d
+RCD_SCRIPTS_EXAMPLEDIR?= share/examples/rc.d
.if !empty(RCD_SCRIPTS_EXAMPLEDIR:M/*)
PKG_FAIL_REASON+= \
"bsd.pkg.install.mk: RCD_SCRIPTS_EXAMPLEDIR can't be an absolute path."
@@ -339,6 +339,7 @@ ${INSTALL_FILE}: ${INSTALL_SRC}
#
# RCD_SCRIPTS_EXAMPLEDIR the directory relative to ${PREFIX} in
# which to install the example rc.d scripts
+# (defaults to share/examples/rc.d)
#
# If the source rc.d script is not present, then the automatic handling
# doesn't occur.