diff options
author | bouyer <bouyer@pkgsrc.org> | 2011-08-07 17:27:24 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2011-08-07 17:27:24 +0000 |
commit | 8888d0630195b9f1f64fefb3c681836556b7dedb (patch) | |
tree | 046f86b1063bb3388aa940360cff970c3bd33ef2 /sysutils | |
parent | fb03e5580b859b5076a89f838af03441737eb845 (diff) | |
download | pkgsrc-8888d0630195b9f1f64fefb3c681836556b7dedb.tar.gz |
Apply patch from PR pkg/45171, fixing rc.d script on DragonFly.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/apcupsd/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index 4d8a45f2912..e08faa5d227 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.62 2011/08/01 14:54:51 bouyer Exp $ +# $NetBSD: Makefile,v 1.63 2011/08/07 17:27:24 bouyer Exp $ DISTNAME= apcupsd-3.14.9 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/} +PKGREVISION= 1 MAINTAINER= bouyer@NetBSD.org HOMEPAGE= http://www.apcupsd.org/ @@ -65,7 +66,11 @@ CONF_FILES_PERMS+= ${EGDIR}/offbattery ${PKG_SYSCONFDIR}/offbattery ${REAL_ROOT_ CONF_FILES_PERMS+= ${EGDIR}/onbattery ${PKG_SYSCONFDIR}/onbattery ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755 CONF_FILES_PERMS+= ${EGDIR}/apccontrol ${PKG_SYSCONFDIR}/apccontrol ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755 RCD_SCRIPTS= apcupsd -RCD_SCRIPT_SRC.apcupsd= ${WRKSRC}/platforms/${OPSYS:tl}/apcupsd +PLATFORM_SUBDIR=${OPSYS:tl} +.if ${OPSYS} == "DragonFly" +PLATFORM_SUBDIR=netbsd +.endif +RCD_SCRIPT_SRC.apcupsd= ${WRKSRC}/platforms/${PLATFORM_SUBDIR}/apcupsd EGFILES= netbsd/apccontrol etc/changeme etc/commfailure etc/commok \ etc/offbattery etc/onbattery etc/multimon.conf etc/hosts.conf |