summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspz <spz>2011-08-08 19:56:37 +0000
committerspz <spz>2011-08-08 19:56:37 +0000
commitce716f1cbd733e0203945ccf2e1f23c89de53fb0 (patch)
treebb7ff2472a5ca7fbed030090d785cc37c8c58856
parentfb2183ded63ad9ae373b2c47756457d0a054ed77 (diff)
downloadpkgsrc-ce716f1cbd733e0203945ccf2e1f23c89de53fb0.tar.gz
Pullup ticket #3494 - requested by bouyer
sysutils/apcupsd: Dragonfly fix Revisions pulled up: - sysutils/apcupsd/Makefile 1.63 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bouyer Date: Sun Aug 7 17:27:24 UTC 2011 Modified Files: pkgsrc/sysutils/apcupsd: Makefile Log Message: Apply patch from PR pkg/45171, fixing rc.d script on DragonFly. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 pkgsrc/sysutils/apcupsd/Makefile
-rw-r--r--sysutils/apcupsd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 602310e024c..cd3ca639792 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.61.2.1 2011/08/07 09:39:48 tron Exp $
+# $NetBSD: Makefile,v 1.61.2.2 2011/08/08 19:56:37 spz 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