# $FreeBSD$
PORTNAME= logrotate
PORTVERSION= 3.8.9
PORTVERSION= 3.9.2
PORTREVISION= 1
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= libpopt.so:${PORTSDIR}/devel/popt
USE_GITHUB= yes
PATCH_STRIP= -p1
USES= gmake
USES= gmake autoreconf
MAKE_ENV= "BASEDIR=${PREFIX}"
GNU_CONFIGURE= yes
CPP= ${CC} -E
CONFIGURE_ARGS= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
post-install:
@${SED} -e 's|__PREFIX__|${PREFIX}|' \
SHA256 (logrotate-3.8.9.tar.gz) = 700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7
SHA256 (logrotate-logrotate-3.9.2_GH0.tar.gz) = 2de00c65e23fa9d7909cae6594e550b9abe9a7eb1553669ddeaca92d30f97009
SIZE (logrotate-3.8.9.tar.gz) = 77408
SIZE (logrotate-logrotate-3.9.2_GH0.tar.gz) = 80711