summaryrefslogtreecommitdiff
path: root/sysutils/nut/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nut/Makefile')
-rw-r--r--sysutils/nut/Makefile7
1 files changed, 6 insertions, 1 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