mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
e947ebc240
reasonable standard.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: cronolog
|
|
# Date created: 20 January 2000
|
|
# Whom: Mark Blackman <tmb_ports@maddog.u-net.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cronolog
|
|
PORTVERSION= 1.6.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://cronolog.org/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A web log rotation utility that provides datestamp filenames
|
|
|
|
INFO= cronolog
|
|
MAN1= cronolog.1m cronosplit.1m
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= automake:19 aclocal:19 autoconf:262
|
|
AUTOMAKE_ARGS+= --add-missing
|
|
|
|
OPTIONS= SETUID_PATCH "Build with setuid functionality" On
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extrapatch-src_cronoutils.c
|
|
PATCH_STRIP= -p1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_SETUID_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}/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|