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
commit1837fcf816a02a9342dd536df87171622db7926d (patch)
treec71a5a7386fd12aa230e9bf028f9685d0ed0174f /sysutils/apcupsd
parent9f155a93ee58fa3d4efe01acfa5233464e71e4be (diff)
downloadpkgsrc-1837fcf816a02a9342dd536df87171622db7926d.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