diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-05 14:52:51 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-05 14:52:51 +0000 |
commit | 5acc115897b33077e2164648e79d94a983931596 (patch) | |
tree | d8513d89fe92e0c643c66c449a95adcdef92af57 /sysutils/cronolog | |
parent | fd959c7d6e612fba1dbc6276e192e436099ff1ba (diff) | |
download | ports-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/Makefile | 16 |
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> |