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