diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-02-17 20:56:56 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-02-17 20:56:56 +0000 |
commit | b70b6bd58920a83902138ab6581452c06d356524 (patch) | |
tree | 33fe98455bdd5ab44927dc8ea924159dda0c0b11 /sysutils/logrotate | |
parent | 5f1a08a32098b20944634c4ddfdd6a576bcc1648 (diff) | |
download | ports-b70b6bd58920a83902138ab6581452c06d356524.tar.gz ports-b70b6bd58920a83902138ab6581452c06d356524.zip |
Notes
Diffstat (limited to 'sysutils/logrotate')
-rw-r--r-- | sysutils/logrotate/Makefile | 6 | ||||
-rw-r--r-- | sysutils/logrotate/pkg-plist | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile index e7ab05f05d4b..f2e4c232d1a3 100644 --- a/sysutils/logrotate/Makefile +++ b/sysutils/logrotate/Makefile @@ -7,7 +7,7 @@ PORTNAME= logrotate PORTVERSION= 3.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} MASTER_SITE_SUBDIR= l/logrotate @@ -31,9 +31,9 @@ MAN8= logrotate.8 MANCOMPRESSED= no post-install: - @${MKDIR} ${PREFIX}/etc/logrotate.d + @${MKDIR} ${EXAMPLESDIR} @${SED} -e 's|__PREFIX__|${PREFIX}|' \ < ${FILESDIR}/logrotate.conf.sample > ${PREFIX}/etc/logrotate.conf.sample - @${INSTALL_DATA} ${FILESDIR}/syslog.sample ${PREFIX}/etc/logrotate.d/ + @${INSTALL_DATA} ${FILESDIR}/syslog.sample ${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/sysutils/logrotate/pkg-plist b/sysutils/logrotate/pkg-plist index 823d5907347b..28cfa27f56e0 100644 --- a/sysutils/logrotate/pkg-plist +++ b/sysutils/logrotate/pkg-plist @@ -1,4 +1,4 @@ sbin/logrotate etc/logrotate.conf.sample -etc/logrotate.d/syslog.sample -@dirrm etc/logrotate.d +%%EXAMPLESDIR%%/syslog.sample +@dirrm %%EXAMPLESDIR%% |