aboutsummaryrefslogtreecommitdiff
path: root/sysutils/logrotate
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2015-06-29 01:01:40 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2015-06-29 01:01:40 +0000
commitffcef0d26bad373cc407d7b9a6e3f7eb92c909d1 (patch)
tree8586f1d1457332dda6d0f7c5e79c64b3404e7acf /sysutils/logrotate
parentc7d71db8b66b3dba62ea487cda6d7b01b7514abd (diff)
downloadports-ffcef0d26bad373cc407d7b9a6e3f7eb92c909d1.tar.gz
ports-ffcef0d26bad373cc407d7b9a6e3f7eb92c909d1.zip
Notes
Diffstat (limited to 'sysutils/logrotate')
-rw-r--r--sysutils/logrotate/Makefile2
-rw-r--r--sysutils/logrotate/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile
index ed4792aff162..f381d74825be 100644
--- a/sysutils/logrotate/Makefile
+++ b/sysutils/logrotate/Makefile
@@ -3,6 +3,7 @@
PORTNAME= logrotate
PORTVERSION= 3.8.9
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://fedorahosted.org/releases/l/o/logrotate/
@@ -21,6 +22,7 @@ CPP= ${CC} -E
post-install:
@${SED} -e 's|__PREFIX__|${PREFIX}|' \
< ${FILESDIR}/logrotate.conf.sample > ${STAGEDIR}${PREFIX}/etc/logrotate.conf.sample
+ @${MKDIR} ${STAGEDIR}${ETCDIR}.d
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/syslog.sample ${STAGEDIR}${EXAMPLESDIR}
diff --git a/sysutils/logrotate/pkg-plist b/sysutils/logrotate/pkg-plist
index 5f3ef5b928ef..313916d1fa55 100644
--- a/sysutils/logrotate/pkg-plist
+++ b/sysutils/logrotate/pkg-plist
@@ -3,3 +3,4 @@ sbin/logrotate
%%EXAMPLESDIR%%/syslog.sample
man/man5/logrotate.conf.5.gz
man/man8/logrotate.8.gz
+@dir %%ETCDIR%%.d