diff options
author | bouyer <bouyer@pkgsrc.org> | 2007-09-18 19:24:07 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2007-09-18 19:24:07 +0000 |
commit | 77797bc78c9f7e0a901cd383cfced5b45b65b490 (patch) | |
tree | 4be355cb92a4583a021106f03752293848d394fd /sysutils | |
parent | df02055ebf572a3cbea8fb8c83523458810cde4a (diff) | |
download | pkgsrc-77797bc78c9f7e0a901cd383cfced5b45b65b490.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/Makefile | 6 |
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} \ |