mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
116ec22ac1
PR: ports/153292 Submitted by: myself (pgollucci) Tested by: -exp run by pav Approved by: portmgr (pav)
34 lines
795 B
Makefile
34 lines
795 B
Makefile
# New ports collection makefile for: logrotate
|
|
# Date Created: 29 Dec 1999
|
|
# Whom: Yuan-Chen Cheng <ycheng@sinica.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= logrotate
|
|
PORTVERSION= 3.7.9
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://fedorahosted.org/releases/l/o/logrotate/
|
|
|
|
MAINTAINER= js@iksz.hu
|
|
COMMENT= Daemon to rotate, compress, remove and mail system log files
|
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
PATCH_STRIP= -p1
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= "BASEDIR=${PREFIX}"
|
|
CPP= ${CC} -E
|
|
|
|
MAN5= logrotate.conf.5
|
|
MAN8= logrotate.8
|
|
MANCOMPRESSED= no
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${SED} -e 's|__PREFIX__|${PREFIX}|' \
|
|
< ${FILESDIR}/logrotate.conf.sample > ${PREFIX}/etc/logrotate.conf.sample
|
|
@${INSTALL_DATA} ${FILESDIR}/syslog.sample ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|