diff options
author | Cy Schubert <cy@FreeBSD.org> | 2015-09-17 06:15:41 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2015-09-17 06:15:41 +0000 |
commit | ec66c5a29170be9ff1898191c82078169890724e (patch) | |
tree | 69edda4c7220e58b8bc5c22103bcabb38106e40a /sysutils/nut | |
parent | 5051f42c75e9db48f7bd225f0b3500f94cf0f3a7 (diff) |
Notes
Diffstat (limited to 'sysutils/nut')
-rw-r--r-- | sysutils/nut/Makefile | 4 | ||||
-rw-r--r-- | sysutils/nut/pkg-plist | 13 |
2 files changed, 6 insertions, 11 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index ef3a54209537..89ca62f329da 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -3,6 +3,7 @@ PORTNAME= nut PORTVERSION= 2.7.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig @@ -165,8 +166,9 @@ pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nut @${REINPLACE_CMD} -e 's/device-name\*/cdev/g' ${WRKSRC}/scripts/devd/nut-usb.conf -.if ${PORT_OPTIONS:MDOCS} post-install: + @${MKDIR} ${STAGEDIR}${STATEDIR} +.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MBASH} @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/scripts/misc/nut.bash_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ diff --git a/sysutils/nut/pkg-plist b/sysutils/nut/pkg-plist index 682e0327385b..7d094cf560da 100644 --- a/sysutils/nut/pkg-plist +++ b/sysutils/nut/pkg-plist @@ -79,6 +79,7 @@ libdata/pkgconfig/libupsclient.pc %%NUT_SERIAL%%libexec/nut/mge-utalk %%NUT_SERIAL%%libexec/nut/microdowell %%NUT_SERIAL%%libexec/nut/mge-shut +libexec/nut/netxml-ups %%NUT_SERIAL%%libexec/nut/oldmge-shut %%NUT_SERIAL%%libexec/nut/oneac %%NUT_SERIAL%%libexec/nut/optiups @@ -176,6 +177,7 @@ man/man5/upssched.conf.5.gz %%NUT_SERIAL%%man/man8/apcupsd-ups.8.gz %%NUT_SERIAL%%man/man8/blazer_ser.8.gz %%NUT_USB%%man/man8/blazer_usb.8.gz +man/man8/netxml-ups.8.gz man/man8/nut-recorder.8.gz man/man8/nut-scanner.8.gz %%NUT_USB%%man/man8/nutdrv_atcl_usb.8.gz @@ -243,13 +245,4 @@ sbin/upsd sbin/upsdrvctl sbin/upsmon sbin/upssched -@exec mkdir %%STATEDIR%% -@exec chown %%NUT_USER%%:%%NUT_GROUP%% %%STATEDIR%% -@exec chmod 750 %%STATEDIR%% -@unexec test -d %%STATEDIR%% && rmdir %%STATEDIR%% -%%NUT_CGI%%@dirrmtry %%CGIDIR%% -@dirrmtry %%ETCDIR%% -%%NUT_CGI%%@dirrmtry www/cgi-bin -%%BASH%%@dirrmtry etc/bash_completion.d -@dirrmtry libexec/nut -%%NUT_CGI%%@dirrmtry %%WWWDIR%% +@dir(%%NUT_USER%%,%%NUT_GROUP%%,750) %%STATEDIR%% |