pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/apcupsd Kill manual use of RCD_SCRIPTS_EXAMPL...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f157a8b155c
branches:  trunk
changeset: 485263:3f157a8b155c
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Sun Dec 05 17:26:47 2004 +0000

description:
Kill manual use of RCD_SCRIPTS_EXAMPLEDIR, set RCD_SCRIPT_SRC.apcupsd to
the appropriate path instead.

diffstat:

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

diffs (26 lines):

diff -r 920c596936a4 -r 3f157a8b155c sysutils/apcupsd/Makefile
--- a/sysutils/apcupsd/Makefile Sun Dec 05 17:25:53 2004 +0000
+++ b/sysutils/apcupsd/Makefile Sun Dec 05 17:26:47 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2004/10/11 22:14:51 reed Exp $
+# $NetBSD: Makefile,v 1.31 2004/12/05 17:26:47 bouyer Exp $
 
 DISTNAME=              apcupsd-3.8.6
 PKGREVISION=           2
@@ -46,6 +46,7 @@
 CONF_FILES_PERMS+= ${EGDIR}/mainsback ${PKG_SYSCONFDIR}/mainsback ${ROOT_USER} ${ROOT_GROUP} 755
 SUPPORT_FILES_PERMS=  ${EGDIR}/apccontrol ${PKG_SYSCONFDIR}/apccontrol ${ROOT_USER} ${ROOT_GROUP} 755
 RCD_SCRIPTS=   apcupsd
+RCD_SCRIPT_SRC.apcupsd=        ${WRKSRC}/distributions/netbsd/apcupsd
 
 # we should probably allow the tty to be set in /etc/mk.conf too
 #
@@ -95,8 +96,6 @@
                ${PREFIX}/share/examples/apcupsd
        ${INSTALL_DATA} ${WRKDIR}/apcupsd.slave.conf \
                ${PREFIX}/share/examples/apcupsd
-       ${INSTALL_SCRIPT} ${WRKSRC}/distributions/netbsd/apcupsd \
-               ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/apcupsd
 .for file in ${DOCS}
        ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/apcupsd



Home | Main Index | Thread Index | Old Index