summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer>2007-09-18 19:24:07 +0000
committerbouyer <bouyer>2007-09-18 19:24:07 +0000
commitaf32ab7b3d1102fc37d35fd9dc0e66591acd6d81 (patch)
tree4be355cb92a4583a021106f03752293848d394fd /sysutils
parent136f7182f721dfa11e4b7c22d27ef99385176ba6 (diff)
downloadpkgsrc-af32ab7b3d1102fc37d35fd9dc0e66591acd6d81.tar.gz
Fix path in RCD_SCRIPT_SRC, and let RCD_SCRIPT install it in
share/example/rc.d/. Based on patch from MASUDA Hideo in pkg/36970, and advise from Joerg Sonnenber.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/apcupsd/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 7d35f5283e7..048fe9b6c05 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2007/06/19 22:22:55 bouyer Exp $
+# $NetBSD: Makefile,v 1.53 2007/09/18 19:24:07 bouyer Exp $
DISTNAME= apcupsd-3.14.1
PKGREVISION= 2
@@ -67,7 +67,7 @@ CONF_FILES_PERMS+= ${EGDIR}/offbattery ${PKG_SYSCONFDIR}/offbattery ${ROOT_USER}
CONF_FILES_PERMS+= ${EGDIR}/onbattery ${PKG_SYSCONFDIR}/onbattery ${ROOT_USER} ${ROOT_GROUP} 755
CONF_FILES_PERMS+= ${EGDIR}/apccontrol ${PKG_SYSCONFDIR}/apccontrol ${ROOT_USER} ${ROOT_GROUP} 755
RCD_SCRIPTS= apcupsd
-RCD_SCRIPT_SRC.apcupsd= ${WRKSRC}/distributions/netbsd/apcupsd
+RCD_SCRIPT_SRC.apcupsd= ${WRKSRC}/platforms/netbsd/apcupsd
EGFILES= netbsd/apccontrol etc/changeme etc/commfailure etc/commok \
etc/offbattery etc/onbattery etc/multimon.conf etc/hosts.conf
@@ -105,8 +105,6 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/platforms/${file} \
${PREFIX}/share/examples/apcupsd
.endfor
- ${INSTALL_SCRIPT} ${WRKSRC}/platforms/netbsd/apcupsd \
- ${PREFIX}/share/examples/rc.d
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/apcupsd
.for file in ${HTMLDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/home-page/${file} \