aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/nut22/Makefile
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-01-04 14:14:59 +0800
committerbp <bp@FreeBSD.org>2001-01-04 14:14:59 +0800
commitabe4bb04624396c806664f42102586431188b6f8 (patch)
tree788441a6313394bedea6432e2ba80cec53953643 /sysutils/nut22/Makefile
parentc7362b76f2c1c90fc9faba8b0fb55b8f6163a580 (diff)
downloadfreebsd-ports-gnome-abe4bb04624396c806664f42102586431188b6f8.tar.gz
freebsd-ports-gnome-abe4bb04624396c806664f42102586431188b6f8.tar.zst
freebsd-ports-gnome-abe4bb04624396c806664f42102586431188b6f8.zip
Update to 0.44.2.
File layout changed again: all ups drivers now located in the ${PREFIX}/libexec/nut. Some of the tools moved to ${PREFIX}/bin directory. Startup script renamed to nut.sh.sample.
Diffstat (limited to 'sysutils/nut22/Makefile')
-rw-r--r--sysutils/nut22/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/nut22/Makefile b/sysutils/nut22/Makefile
index 794958397a0f..87b6ea774835 100644
--- a/sysutils/nut22/Makefile
+++ b/sysutils/nut22/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nut
-PORTVERSION= 0.44.1
+PORTVERSION= 0.44.2
CATEGORIES= sysutils
MASTER_SITES= http://www.exploits.org/nut/release/
@@ -19,7 +19,7 @@ LIB_DEPENDS= gd.1:${PORTSDIR}/graphics/gd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
--with-cgipath=${PREFIX}/share/nut/cgi \
- --with-modelpath=${PREFIX}/sbin \
+ --with-modelpath=${PREFIX}/libexec/nut \
--with-statepath=/var/db
ALL_TARGET= all
@@ -50,8 +50,8 @@ pre-install:
post-install:
@${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" \
${WRKSRC}/scripts/FreeBSD/upsd.sh.sample \
- >${PREFIX}/etc/rc.d/upsd.sh.sample
- @${CHMOD} 0755 ${PREFIX}/etc/rc.d/upsd.sh.sample
+ >${PREFIX}/etc/rc.d/nut.sh.sample
+ @${CHMOD} 0755 ${PREFIX}/etc/rc.d/nut.sh.sample
.if !defined(NOPORTDOCS)
@if ! [ -d ${NDOCDIR} ]; then ${MKDIR} ${NDOCDIR}; fi
@if ! [ -d ${NDOCDIR}/cables ]; then ${MKDIR} ${NDOCDIR}/cables; fi