diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-28 20:01:07 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-28 20:01:07 +0000 |
commit | 27d44119e7e106f32a4b4b25539a57a35cc68823 (patch) | |
tree | 8462df47de7a523e2debd710ebc0516911e33a43 /sysutils/apachetop | |
parent | f3184698839707db08f51b1529956b01b49932cf (diff) |
Notes
Diffstat (limited to 'sysutils/apachetop')
-rw-r--r-- | sysutils/apachetop/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/sysutils/apachetop/Makefile b/sysutils/apachetop/Makefile index 247d30c792ef..afab74451eda 100644 --- a/sysutils/apachetop/Makefile +++ b/sysutils/apachetop/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: apachetop -# Date created: 30 Sep 2003 -# Whom: Sebastian Yepes F. <esn@x123.info> -# +# Created by: Sebastian Yepes F. <esn@x123.info> # $FreeBSD$ -# PORTNAME= apachetop PORTVERSION= 0.12.6 @@ -21,23 +17,22 @@ GNU_CONFIGURE= yes MAN1= apachetop.1 PLIST_FILES= bin/apachetop -OPTIONS= ADNS "Asynchronous-capable DNS support" off \ - FAM "File Alteration Monitor support" off \ - PCRE "Perl Compatible Regular Expressions support" off +OPTIONS_DEFINE= ADNS FAM PCRE +ADNS_DESC= Asynchronous-capable DNS support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_ADNS) +.if ${PORT_OPTIONS:MADNS} LIB_DEPENDS+= adns.1:${PORTSDIR}/dns/adns CONFIGURE_ARGS+=--with-adns=${LOCALBASE} .endif -.if defined(WITH_FAM) +.if ${PORT_OPTIONS:MFAM} LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam CONFIGURE_ARGS+=--with-fam=${LOCALBASE} .endif -.if defined(WITH_PCRE) +.if ${PORT_OPTIONS:MPCRE} LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-pcre=${LOCALBASE} .endif @@ -49,4 +44,4 @@ post-patch: ${WRKSRC}/src/log.* @cd ${WRKSRC} && ${TOUCH} -r configure.ac aclocal.m4 stamp-h.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> |