aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-01-20 01:11:27 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-01-20 01:11:27 +0000
commitf55829cb5a9fe10fe9a00b9f2b347e0ad0acc862 (patch)
treee78ef57a61f6de3b5c607e11af40042bad217390 /sysutils
parent7d456e9565543f173ef57adc92cb12273f933816 (diff)
downloadports-f55829cb5a9fe10fe9a00b9f2b347e0ad0acc862.tar.gz
ports-f55829cb5a9fe10fe9a00b9f2b347e0ad0acc862.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/nut/Makefile7
-rw-r--r--sysutils/nut22/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index e309cf7d148f..22d580cc6487 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -14,8 +14,11 @@ MAINTAINER= DougB@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
+ --localstatedir=/var/db/nut \
--with-modelpath=${PREFIX}/libexec/nut \
- --with-statepath=/var/db
+ --with-statepath=/var/db/nut \
+ --with-altpidpath=/var/db/nut \
+ --with-pidpath=/var/db/nut
MAN5= ups.conf.5 upsd.conf.5 upsd.users.5 upsmon.conf.5 \
upssched.conf.5
@@ -48,6 +51,8 @@ pre-fetch:
pre-install:
@${MKDIR} ${PREFIX}/libexec/nut
+ @${MKDIR} /var/db/nut
+ @${CHOWN} uucp /var/db/nut
NDOCDIR= ${PREFIX}/share/doc/nut
diff --git a/sysutils/nut22/Makefile b/sysutils/nut22/Makefile
index e309cf7d148f..22d580cc6487 100644
--- a/sysutils/nut22/Makefile
+++ b/sysutils/nut22/Makefile
@@ -14,8 +14,11 @@ MAINTAINER= DougB@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
+ --localstatedir=/var/db/nut \
--with-modelpath=${PREFIX}/libexec/nut \
- --with-statepath=/var/db
+ --with-statepath=/var/db/nut \
+ --with-altpidpath=/var/db/nut \
+ --with-pidpath=/var/db/nut
MAN5= ups.conf.5 upsd.conf.5 upsd.users.5 upsmon.conf.5 \
upssched.conf.5
@@ -48,6 +51,8 @@ pre-fetch:
pre-install:
@${MKDIR} ${PREFIX}/libexec/nut
+ @${MKDIR} /var/db/nut
+ @${CHOWN} uucp /var/db/nut
NDOCDIR= ${PREFIX}/share/doc/nut