summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2004-04-27 20:31:08 +0000
committerreed <reed@pkgsrc.org>2004-04-27 20:31:08 +0000
commit2c9bb2bb44451b8ba92a99cb3d34dbc2381ec3f1 (patch)
treec71a5a7386fd12aa230e9bf028f9685d0ed0174f /sysutils/apcupsd
parentb6f62fb3fe41684222abcdcd2270450f87b925a0 (diff)
downloadpkgsrc-2c9bb2bb44451b8ba92a99cb3d34dbc2381ec3f1.tar.gz
The RCD_SCRIPTS mechanism expects the rc.d script to be installed to
${RCD_SCRIPTS_EXAMPLEDIR} instead of ${PREFIX}/etc/rc.d. (Okay'd by bouyer@.)
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index d62e462afde..602eb2e1184 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2004/04/25 09:14:00 snj Exp $
+# $NetBSD: Makefile,v 1.28 2004/04/27 20:31:08 reed Exp $
DISTNAME= apcupsd-3.8.6
PKGREVISION= 1
@@ -96,7 +96,7 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/apcupsd.slave.conf \
${PREFIX}/share/examples/apcupsd
${INSTALL_SCRIPT} ${WRKSRC}/distributions/netbsd/apcupsd \
- ${PREFIX}/etc/rc.d
+ ${RCD_SCRIPTS_EXAMPLEDIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/apcupsd
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/apcupsd