summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/Makefile
diff options
context:
space:
mode:
authorbouyer <bouyer>2007-06-19 22:22:55 +0000
committerbouyer <bouyer>2007-06-19 22:22:55 +0000
commitd69e3ebd058a63b75b09d3328b35754d9d0833c0 (patch)
treebc3c5f2e65cb5649b74f0740be032455ebf07b34 /sysutils/apcupsd/Makefile
parent393800c670b8ffac1a17fbb463fe06cb02624570 (diff)
downloadpkgsrc-d69e3ebd058a63b75b09d3328b35754d9d0833c0.tar.gz
Properly handle config files in $PREFIX/etc. Not sure how this worked with
the previous version of the package ... Pointed out by Bernd Ernesti.
Diffstat (limited to 'sysutils/apcupsd/Makefile')
-rw-r--r--sysutils/apcupsd/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index d685d8d3f36..7d35f5283e7 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2007/06/15 21:15:38 bouyer Exp $
+# $NetBSD: Makefile,v 1.52 2007/06/19 22:22:55 bouyer Exp $
DISTNAME= apcupsd-3.14.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/}
@@ -57,6 +57,7 @@ CONFIGURE_ENV+= ac_cv_path_MAKE=${MAKE:Q}
EGDIR= ${PREFIX}/share/examples/apcupsd
CONF_FILES_PERMS+= ${EGDIR}/apcupsd.conf ${PKG_SYSCONFDIR}/apcupsd.conf ${ROOT_USER} ${ROOT_GROUP} 644
+CONF_FILES_PERMS+= ${EGDIR}/apcupsd.css ${PKG_SYSCONFDIR}/apcupsd.css ${ROOT_USER} ${ROOT_GROUP} 644
CONF_FILES_PERMS+= ${EGDIR}/changeme ${PKG_SYSCONFDIR}/changeme ${ROOT_USER} ${ROOT_GROUP} 755
CONF_FILES_PERMS+= ${EGDIR}/commfailure ${PKG_SYSCONFDIR}/commfailure ${ROOT_USER} ${ROOT_GROUP} 755
CONF_FILES_PERMS+= ${EGDIR}/commok ${PKG_SYSCONFDIR}/commok ${ROOT_USER} ${ROOT_GROUP} 755
@@ -98,6 +99,8 @@ HTMLDOCS= apcupsd.gif bclogo.gif bugs.html bugs.wml index.html index.wml \
post-install:
${INSTALL_DATA} ${WRKSRC}/platforms/etc/apcupsd.conf \
${PREFIX}/share/examples/apcupsd
+ ${INSTALL_DATA} ${WRKSRC}/src/cgi/apcupsd.css \
+ ${PREFIX}/share/examples/apcupsd
.for file in ${EGFILES}
${INSTALL_SCRIPT} ${WRKSRC}/platforms/${file} \
${PREFIX}/share/examples/apcupsd