diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:24:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:24:10 +0000 |
commit | c049a2ca48d1150abe59446f3082ca4116323bc6 (patch) | |
tree | 0296198370532d82efd6efd523c7ca1570359f37 /sysutils/apcupsd | |
parent | 0538ec5b33e56381337ee00b1bb6243bc3bc3c7a (diff) | |
download | pkgsrc-c049a2ca48d1150abe59446f3082ca4116323bc6.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r-- | sysutils/apcupsd/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index 0b228546903..a355a7de22d 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.80 2016/01/28 15:51:34 prlw1 Exp $ +# $NetBSD: Makefile,v 1.81 2016/02/26 10:24:10 jperkin Exp $ DISTNAME= apcupsd-3.14.13r2365 CATEGORIES= sysutils @@ -65,13 +65,12 @@ CONF_FILES_PERMS+= ${EGDIR}/onbattery ${PKG_SYSCONFDIR}/onbattery ${REAL_ROOT_US CONF_FILES_PERMS+= ${EGDIR}/apccontrol ${PKG_SYSCONFDIR}/apccontrol ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 755 RCD_SCRIPTS= apcupsd -PLATFORM_SUBDIR=${OPSYS:tl} -.if ${OPSYS} == "DragonFly" -PLATFORM_SUBDIR=netbsd -.endif -.if ${OPSYS} == "SunOS" -PLATFORM_SUBDIR=sun -.endif + +OPSYSVARS+= PLATFORM_SUBDIR +PLATFORM_SUBDIR.DragonFly= netbsd +PLATFORM_SUBDIR.SunOS= sun +PLATFORM_SUBDIR.*= ${OPSYS:tl} + RCD_SCRIPT_SRC.apcupsd= ${WRKSRC}/platforms/${PLATFORM_SUBDIR}/apcupsd EGFILES= ${PLATFORM_SUBDIR}/apccontrol etc/changeme etc/commfailure etc/commok \ |