diff options
author | Cy Schubert <cy@FreeBSD.org> | 2019-03-28 14:17:06 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2019-03-28 14:17:06 +0000 |
commit | d1d642bb4e1a1ea57cb4f2bcc6701670a79ed36c (patch) | |
tree | a01a2a97a4b464208c5175fe8b5af3637f9508b8 /sysutils/nut | |
parent | f7a06803d08ee1795d3ba16923d5c68befddde37 (diff) | |
download | ports-d1d642bb4e1a1ea57cb4f2bcc6701670a79ed36c.tar.gz ports-d1d642bb4e1a1ea57cb4f2bcc6701670a79ed36c.zip |
Really fix where samples go.
Notes
Notes:
svn path=/head/; revision=497023
Diffstat (limited to 'sysutils/nut')
-rw-r--r-- | sysutils/nut/Makefile | 9 | ||||
-rw-r--r-- | sysutils/nut/pkg-plist | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index b3b80ffae049..94f8cded4a09 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -3,7 +3,7 @@ PORTNAME= nut PORTVERSION= 2.7.4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -188,10 +188,9 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .endif - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d - ${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${PREFIX}/etc/syslog.d/nut.sample - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d - ${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nut.conf.sample + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${EXAMPLESDIR}/syslog.sample + ${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${EXAMPLESDIR}/newsyslog.sample ${MKDIR} ${STAGEDIR}/var/log/nut .include <bsd.port.mk> diff --git a/sysutils/nut/pkg-plist b/sysutils/nut/pkg-plist index b837a0718182..eb51e3a0b66e 100644 --- a/sysutils/nut/pkg-plist +++ b/sysutils/nut/pkg-plist @@ -17,8 +17,8 @@ @sample %%ETCDIR%%/upsd.users.sample @sample %%ETCDIR%%/upsmon.conf.sample @sample %%ETCDIR%%/upssched.conf.sample -@sample etc/newsyslog.conf.d/nut.conf.sample -@sample etc/syslog.d/nut.sample +@sample %%EXAMPLESDIR%%/newsyslog.sample +@sample %%EXAMPLESDIR%%/syslog.sample %%NUT_USB%%etc/devd/nut-usb.conf @stopdaemon nut_upsmon @stopdaemon nut_upslog |