diff options
author | gabor <gabor@FreeBSD.org> | 2007-02-18 04:56:56 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2007-02-18 04:56:56 +0800 |
commit | b88ce6a6ad5887f54cbb30547c42c1d54ccbe1d1 (patch) | |
tree | 9da4edf00e703218f63b02df714d529c93530ef9 /sysutils | |
parent | e2466ab57c58f1f37b8f5ae5877dd4d777ccdbbe (diff) | |
download | freebsd-ports-gnome-b88ce6a6ad5887f54cbb30547c42c1d54ccbe1d1.tar.gz freebsd-ports-gnome-b88ce6a6ad5887f54cbb30547c42c1d54ccbe1d1.tar.zst freebsd-ports-gnome-b88ce6a6ad5887f54cbb30547c42c1d54ccbe1d1.zip |
- Install the sample file to EXAMPLESDIR
- Bump PORTREVISION
PR: ports/108466
Submitted by: Ian Tegebo <yontege@rescomp.berkeley.edu>
Approved by: Balazs Nagy <js@iksz.hu> (maintainer),
erwin (mentor, implicit)
Diffstat (limited to 'sysutils')
-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%% |