From 1f9270b0bc803581e176fc526f72bd46d6f2cc14 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 12 Sep 2013 09:39:19 +0000 Subject: Reassign to the heap as maintainer no longer use FreeBSD While here: Use options helpers where possible Submitted by: Michael Brune (former maintainer via pkg-fallout) --- sysutils/apachetop/Makefile | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'sysutils/apachetop') diff --git a/sysutils/apachetop/Makefile b/sysutils/apachetop/Makefile index 2653f8ce99a7..6c4597585fde 100644 --- a/sysutils/apachetop/Makefile +++ b/sysutils/apachetop/Makefile @@ -7,10 +7,9 @@ PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= http://www.webta.org/apachetop/ -MAINTAINER= admin@mjbrune.org +MAINTAINER= ports@FreeBSD.org COMMENT= Apache RealTime log stats - GNU_CONFIGURE= yes MAN1= apachetop.1 @@ -19,22 +18,14 @@ PLIST_FILES= bin/apachetop OPTIONS_DEFINE= ADNS FAM PCRE ADNS_DESC= Asynchronous-capable DNS support -.include - -.if ${PORT_OPTIONS:MADNS} -LIB_DEPENDS+= adns.1:${PORTSDIR}/dns/adns -CONFIGURE_ARGS+=--with-adns=${LOCALBASE} -.endif +ADNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns +ADNS_CONFIGURE_ON= --with-adns=${LOCALBASE} -.if ${PORT_OPTIONS:MFAM} -LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam -CONFIGURE_ARGS+=--with-fam=${LOCALBASE} -.endif +FAM_LIB_DEPENDS= libfam.so:${PORTSDIR}/devel/fam +FAM_CONFIGURE_ON= --with-fam=${LOCALBASE} -.if ${PORT_OPTIONS:MPCRE} -LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre -CONFIGURE_ARGS+=--with-pcre=${LOCALBASE} -.endif +PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre +PCRE_COFNIGURE_ON= --with-pcre=${LOCALBASE} post-patch: @${REINPLACE_CMD} -E -e 's,struct (circle_struct),\1,g' \ -- cgit v1.2.3