blob: fb0cfe92674d23e72ac9e29f7ca471ac1322f6c4 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: apachetop
# Date created: 30 Sep 2003
# Whom: Sebastian Yepes F. <esn@x123.info>
#
# $FreeBSD$
#
PORTNAME= apachetop
PORTVERSION= 0.12.6
CATEGORIES= sysutils
MASTER_SITES= http://www.webta.org/apachetop/
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache RealTime log stats
USE_AUTOTOOLS= autoconf:259:env
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
.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)
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
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.*
@${REINPLACE_CMD} -e 's,@AUTOCONF@,${AUTOCONF},' \
-e 's,@AUTOHEADER@,${AUTOHEADER},' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
|