aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/apachetop
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-12 17:39:19 +0800
committerbapt <bapt@FreeBSD.org>2013-09-12 17:39:19 +0800
commit83c7c862253c02f1db5dd7db7a482c0c984fa300 (patch)
tree30c4f47c6d9506bd4b43001a86ace7628059cd87 /sysutils/apachetop
parent42f9fd27207fb2579e4f4e6f7d0e3b36f4cf936f (diff)
downloadfreebsd-ports-gnome-83c7c862253c02f1db5dd7db7a482c0c984fa300.tar.gz
freebsd-ports-gnome-83c7c862253c02f1db5dd7db7a482c0c984fa300.tar.zst
freebsd-ports-gnome-83c7c862253c02f1db5dd7db7a482c0c984fa300.zip
Reassign to the heap as maintainer no longer use FreeBSD
While here: Use options helpers where possible Submitted by: Michael Brune <admin@mjbrune.org> (former maintainer via pkg-fallout)
Diffstat (limited to 'sysutils/apachetop')
-rw-r--r--sysutils/apachetop/Makefile23
1 files changed, 7 insertions, 16 deletions
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 <bsd.port.options.mk>
-
-.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' \