View | Details | Raw Unified | Return to bug 223227 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/logrotate/Makefile (-5 / +9 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	logrotate
4
PORTNAME=	logrotate
5
PORTVERSION=	3.13.0
5
PORTVERSION=	3.13.0
6
PORTREVISION=	1
6
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
7
8
8
MAINTAINER=	js@iksz.hu
9
MAINTAINER=	js@iksz.hu
Lines 15-29 Link Here
15
USE_GITHUB=	yes
16
USE_GITHUB=	yes
16
17
17
PATCH_STRIP=		-p1
18
PATCH_STRIP=		-p1
18
USES=		gmake autoreconf
19
USES=		autoreconf gmake localbase
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
21
CONFIGURE_ARGS=	--with-default-mail-command=/usr/bin/mailx \
22
		--with-compress-command=/usr/bin/gzip \
23
		--with-uncompress-command=/usr/bin/gunzip \
24
		--with-state-file-path=/var/run/logrotate.status
21
25
22
post-install:
26
post-install:
23
	@${SED} -e 's|__PREFIX__|${PREFIX}|' \
27
	${SED} -e 's|__PREFIX__|${PREFIX}|' \
24
		< ${FILESDIR}/logrotate.conf.sample > ${STAGEDIR}${PREFIX}/etc/logrotate.conf.sample
28
		< ${FILESDIR}/logrotate.conf.sample > ${STAGEDIR}${PREFIX}/etc/logrotate.conf.sample
25
	@${MKDIR} ${STAGEDIR}${ETCDIR}.d
29
	${MKDIR} ${STAGEDIR}${ETCDIR}.d
26
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
30
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
27
	${INSTALL_DATA} ${FILESDIR}/syslog.sample ${STAGEDIR}${EXAMPLESDIR}
31
	${INSTALL_DATA} ${FILESDIR}/syslog.sample ${STAGEDIR}${EXAMPLESDIR}
28
32
29
.include <bsd.port.mk>
33
.include <bsd.port.mk>

Return to bug 223227