summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorkristerw <kristerw>2005-06-23 21:13:01 +0000
committerkristerw <kristerw>2005-06-23 21:13:01 +0000
commita9c59307bdc9d21f91f858abb9f72b6bf7400704 (patch)
tree1db0c35e658790d64be1c919b7475574f6bd2863 /sysutils/apcupsd
parenteb6648fae1a017d6b1f47bed14c2cc6c0d9f1ba8 (diff)
downloadpkgsrc-a9c59307bdc9d21f91f858abb9f72b6bf7400704.tar.gz
Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 8a8ba4df172..2dddf416bc3 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2005/05/22 20:08:31 jlam Exp $
+# $NetBSD: Makefile,v 1.36 2005/06/23 21:13:01 kristerw Exp $
DISTNAME= apcupsd-3.8.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/}
@@ -12,7 +12,7 @@ COMMENT= UPS power management for APCC Products
BUILD_USES_MSGFMT= yes
USE_PKGINSTALL= yes
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake sh
GNU_CONFIGURE= yes
@@ -35,6 +35,8 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
# this breaks .in files that uses @sbindir@
CONFIGURE_ARGS+= --sbindir=${PREFIX}/sbin
+CONFIGURE_ENV+= ac_cv_path_SCRIPTSHELL="${TOOLS_SH}"
+
EGDIR= ${PREFIX}/share/examples/apcupsd
CONF_FILES_PERMS+= ${EGDIR}/apcupsd.master.conf ${PKG_SYSCONFDIR}/apcupsd.conf ${ROOT_USER} ${ROOT_GROUP} 644