blob: 3b33abebd3d85dfdcbb14ae39f64452a4ec80e19 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Sebastian Yepes F. <esn@x123.info>
# $FreeBSD$
PORTNAME= apachetop
PORTVERSION= 0.12.6
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= http://www.webta.org/apachetop/
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache RealTime log stats
GNU_CONFIGURE= yes
MAN1= apachetop.1
PLIST_FILES= bin/apachetop
OPTIONS_DEFINE= ADNS FAM PCRE
ADNS_DESC= Asynchronous-capable DNS support
ADNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns
ADNS_CONFIGURE_ON= --with-adns=${LOCALBASE}
FAM_LIB_DEPENDS= libfam.so:${PORTSDIR}/devel/fam
FAM_CONFIGURE_ON= --with-fam=${LOCALBASE}
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
PCRE_COFNIGURE_ON= --with-pcre=${LOCALBASE}
NO_STAGE= yes
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.*
@cd ${WRKSRC} && ${TOUCH} -r configure.ac aclocal.m4 stamp-h.in
.include <bsd.port.mk>
|