mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# Created by: Mark Blackman <tmb_ports@maddog.u-net.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cronolog
|
|
PORTVERSION= 1.6.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://cronolog.org/download/
|
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
|
COMMENT= Web log rotation utility that provides datestamp filenames
|
|
|
|
LICENSE= GPLv2
|
|
|
|
CONFLICTS_INSTALL= cronolog-devel-[0-9]*
|
|
|
|
INFO= cronolog
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS_DEFINE= SETUID_PATCH
|
|
OPTIONS_DEFAULT= SETUID_PATCH
|
|
SETUID_PATCH_DESC= Build with setuid functionality
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extrapatch-src_cronoutils.c
|
|
PATCH_STRIP= -p1
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSETUID_PATCH}
|
|
MASTER_SITES+= http://cronolog.org/patches/:patches
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} cronolog-setugid-patch.txt:patches
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
EXTRA_PATCHES+= ${WRKDIR}/cronolog-setugid-patch.txt
|
|
USE_DOS2UNIX= ../cronolog-setugid-patch.txt
|
|
|
|
post-extract:
|
|
@${CP} ${DISTDIR}/cronolog-setugid-patch.txt ${WRKDIR}/
|
|
@cd ${WRKSRC} && ${TOUCH} aclocal.m4 Makefile.in */Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|