pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/apcupsd Fix path in RCD_SCRIPT_SRC, and let R...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ed1706b9ef4
branches:  trunk
changeset: 533412:9ed1706b9ef4
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Tue Sep 18 19:24:07 2007 +0000

description:
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:

 sysutils/apcupsd/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r a730194f4d6e -r 9ed1706b9ef4 sysutils/apcupsd/Makefile
--- a/sysutils/apcupsd/Makefile Tue Sep 18 19:23:01 2007 +0000
+++ b/sysutils/apcupsd/Makefile Tue Sep 18 19:24:07 2007 +0000
@@ -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}/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 @@
        ${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} \



Home | Main Index | Thread Index | Old Index