- 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)
This commit is contained in:
parent
5f1a08a320
commit
b70b6bd589
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185393
@ -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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
sbin/logrotate
|
||||
etc/logrotate.conf.sample
|
||||
etc/logrotate.d/syslog.sample
|
||||
@dirrm etc/logrotate.d
|
||||
%%EXAMPLESDIR%%/syslog.sample
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user