2003-09-30 10:10:57 +02:00
|
|
|
# New ports collection makefile for: apachetop
|
2003-12-26 14:21:47 +01:00
|
|
|
# Date created: 30 Sep 2003
|
|
|
|
# Whom: Sebastian Yepes F. <esn@x123.info>
|
2003-09-30 10:10:57 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= apachetop
|
2006-04-21 16:46:42 +02:00
|
|
|
PORTVERSION= 0.12.6
|
2012-02-14 13:45:35 +01:00
|
|
|
PORTREVISION= 3
|
2003-09-30 10:10:57 +02:00
|
|
|
CATEGORIES= sysutils
|
2006-04-21 16:46:42 +02:00
|
|
|
MASTER_SITES= http://www.webta.org/apachetop/
|
2003-09-30 10:10:57 +02:00
|
|
|
|
2011-03-21 12:08:50 +01:00
|
|
|
MAINTAINER= admin@mjbrune.org
|
2003-09-30 10:10:57 +02:00
|
|
|
COMMENT= Apache RealTime log stats
|
|
|
|
|
2009-05-16 08:27:56 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2003-12-26 14:21:47 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-09-30 10:10:57 +02:00
|
|
|
|
2003-10-11 13:48:51 +02:00
|
|
|
MAN1= apachetop.1
|
2005-11-03 20:58:00 +01:00
|
|
|
PLIST_FILES= bin/apachetop
|
2003-10-11 13:48:51 +02:00
|
|
|
|
2004-09-16 04:27:05 +02:00
|
|
|
OPTIONS= ADNS "Asynchronous-capable DNS support" off \
|
|
|
|
FAM "File Alteration Monitor support" off \
|
|
|
|
PCRE "Perl Compatible Regular Expressions support" off
|
2003-09-30 10:10:57 +02:00
|
|
|
|
2004-09-16 04:27:05 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_ADNS)
|
|
|
|
LIB_DEPENDS+= adns.1:${PORTSDIR}/dns/adns
|
|
|
|
CONFIGURE_ARGS+=--with-adns=${LOCALBASE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_FAM)
|
|
|
|
LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam
|
|
|
|
CONFIGURE_ARGS+=--with-fam=${LOCALBASE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PCRE)
|
2012-02-14 13:45:35 +01:00
|
|
|
LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre
|
2004-09-16 04:27:05 +02:00
|
|
|
CONFIGURE_ARGS+=--with-pcre=${LOCALBASE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E -e 's,struct (circle_struct),\1,g' \
|
|
|
|
${WRKSRC}/src/hits_circle.*
|
|
|
|
@${REINPLACE_CMD} -E -e 's,enum (adns_queryflags),\1,g' \
|
|
|
|
${WRKSRC}/src/log.*
|
2010-05-13 23:52:17 +02:00
|
|
|
@cd ${WRKSRC} && ${TOUCH} -r configure.ac aclocal.m4 stamp-h.in
|
2004-09-16 04:27:05 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|