pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/apcupsd pkg/40112: don't hardcode "netbsd" in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c4fbcd6dc75
branches:  trunk
changeset: 551124:7c4fbcd6dc75
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Sun Dec 07 22:54:00 2008 +0000

description:
pkg/40112: don't hardcode "netbsd" in RCD_SCRIPT_SRC.apcupsd
bump PKGREVISION

diffstat:

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

diffs (23 lines):

diff -r 88e4c957c980 -r 7c4fbcd6dc75 sysutils/apcupsd/Makefile
--- a/sysutils/apcupsd/Makefile Sun Dec 07 22:41:25 2008 +0000
+++ b/sysutils/apcupsd/Makefile Sun Dec 07 22:54:00 2008 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.58 2008/06/20 01:09:35 joerg Exp $
+# $NetBSD: Makefile,v 1.59 2008/12/07 22:54:00 bouyer Exp $
 
 DISTNAME=              apcupsd-3.14.3
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=apcupsd/}
+PKGREVISION=           1
 
 MAINTAINER=            bouyer%NetBSD.org@localhost
 HOMEPAGE=              http://www.apcupsd.org/
@@ -64,7 +65,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}/platforms/netbsd/apcupsd
+RCD_SCRIPT_SRC.apcupsd=        ${WRKSRC}/platforms/${OPSYS:tl}/apcupsd
 
 EGFILES= netbsd/apccontrol etc/changeme etc/commfailure etc/commok \
     etc/offbattery etc/onbattery etc/multimon.conf etc/hosts.conf



Home | Main Index | Thread Index | Old Index