summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2007-09-18 19:24:07 +0000
committerbouyer <bouyer@pkgsrc.org>2007-09-18 19:24:07 +0000
commit6eb48581f508a33aefd86a07c2293f2b425e8ed5 (patch)
tree4be355cb92a4583a021106f03752293848d394fd /sysutils
parent7b224c9f3363d36e383e0d0f267115c1f7cee19b (diff)
downloadpkgsrc-6eb48581f508a33aefd86a07c2293f2b425e8ed5.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} \