aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cronolog
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 14:52:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-05 14:52:51 +0000
commit5acc115897b33077e2164648e79d94a983931596 (patch)
treed8513d89fe92e0c643c66c449a95adcdef92af57 /sysutils/cronolog
parentfd959c7d6e612fba1dbc6276e192e436099ff1ba (diff)
downloadports-5acc115897b33077e2164648e79d94a983931596.tar.gz
ports-5acc115897b33077e2164648e79d94a983931596.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=305302
Diffstat (limited to 'sysutils/cronolog')
-rw-r--r--sysutils/cronolog/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/sysutils/cronolog/Makefile b/sysutils/cronolog/Makefile
index 24c6128caf19..6b78e28f5477 100644
--- a/sysutils/cronolog/Makefile
+++ b/sysutils/cronolog/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cronolog
-# Date created: 20 January 2000
-# Whom: Mark Blackman <tmb_ports@maddog.u-net.com>
-#
+# Created by: Mark Blackman <tmb_ports@maddog.u-net.com>
# $FreeBSD$
-#
PORTNAME= cronolog
PORTVERSION= 1.6.2
@@ -21,14 +17,16 @@ MAN1= cronolog.1m cronosplit.1m
GNU_CONFIGURE= yes
-OPTIONS= SETUID_PATCH "Build with setuid functionality" On
+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.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_SETUID_PATCH)
+.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}
@@ -40,4 +38,4 @@ post-extract:
@cd ${WRKSRC} && ${TOUCH} aclocal.m4 Makefile.in */Makefile.in
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>