Lines 6-44
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= polygraph |
8 |
PORTNAME= polygraph |
9 |
PORTVERSION= 3.0.6 |
9 |
PORTVERSION= 4.3.2 |
10 |
PORTREVISION= 3 |
|
|
11 |
CATEGORIES= benchmarks www |
10 |
CATEGORIES= benchmarks www |
12 |
MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \ |
11 |
MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \ |
13 |
http://people.bsdgroup.de/~as/freebsd/distfiles/ |
12 |
http://people.bsdgroup.de/~as/freebsd/distfiles/ |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-src |
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-src |
15 |
EXTRACT_SUFX= .tgz |
14 |
EXTRACT_SUFX= .tgz |
16 |
|
15 |
|
17 |
MAINTAINER= as@bsdgroup.de |
16 |
MAINTAINER= as@bsdgroup.de |
18 |
COMMENT= A benchmarking tool for Web proxies |
17 |
COMMENT= A benchmarking tool for Web proxies |
19 |
|
18 |
|
20 |
GNU_CONFIGURE= YES |
19 |
LICENSE= AL2 |
21 |
CPPFLAGS+= -Wno-deprecated |
20 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
22 |
CONFIGURE_ARGS+=--datadir=${DATADIR} |
21 |
|
23 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
22 |
USE_GCC= 4.2+ |
|
|
23 |
GNU_CONFIGURE= yes |
24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
24 |
|
25 |
|
25 |
CONFLICTS= ltrace-0* |
26 |
CONFLICTS= ltrace-0* |
26 |
|
27 |
|
27 |
OPTIONS= GNUPLOT "gnuplot if you want full report functionality" ON \ |
28 |
OPTIONS_DEFINE= GNUPLOT OPENSSL PERL ZLIB |
28 |
PERL "install Perl for polygraph tools" OFF |
29 |
|
|
|
30 |
GNUPLOT_DESC= GNUPlot for full reporting functionality |
31 |
OPENSSL_DESC= Enable SSL/HTTPS support |
32 |
PERL_DESC= Install Perl for PolyGraph tools |
33 |
ZLIB_DESC= Enable HTTP compression support |
29 |
|
34 |
|
30 |
.include <bsd.port.pre.mk> |
35 |
OPTIONS_DEFAULT= OPENSSL ZLIB |
31 |
|
36 |
|
32 |
.if ${OSVERSION} >= 900009 || (${OSVERSION} < 900000 && ${OSVERSION} >= 800503) |
37 |
.include <bsd.port.options.mk> |
33 |
BROKEN= does not build |
38 |
|
|
|
39 |
.if ${PORT_OPTIONS:MGNUPLOT} |
40 |
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot |
34 |
.endif |
41 |
.endif |
35 |
|
42 |
|
36 |
.if !defined(WITHOUT_GNUPLOT) |
43 |
.if ${PORT_OPTIONS:MOPENSSL} |
37 |
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot |
44 |
USE_OPENSSL= yes |
|
|
45 |
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} |
46 |
.else |
47 |
CONFIGURE_ARGS+= --without-ssl |
38 |
.endif |
48 |
.endif |
39 |
|
49 |
|
40 |
.if !defined(WITHOUT_PERL) |
50 |
.if ${PORT_OPTIONS:MPERL} |
41 |
USE_PERL5_RUN= yes |
51 |
USE_PERL5_RUN= yes |
42 |
.endif |
52 |
.endif |
43 |
|
53 |
|
44 |
.include <bsd.port.post.mk> |
54 |
.if ${PORT_OPTIONS:MZLIB} |
|
|
55 |
CONFIGURE_ARGS+= --with-zlib=/usr |
56 |
.else |
57 |
CONFIGURE_ARGS+= --without-zlib |
58 |
.endif |
59 |
|
60 |
MAN1= polygraph-aka.1 polygraph-beepmon.1 polygraph-cdb.1 \ |
61 |
polygraph-client.1 polygraph-cmp-lx.1 polygraph-distr-test.1 \ |
62 |
polygraph-dns-cfg.1 polygraph-lr.1 polygraph-ltrace.1 \ |
63 |
polygraph-lx.1 polygraph-pgl-test.1 polygraph-pgl2acl.1 \ |
64 |
polygraph-pgl2eng.1 polygraph-pgl2ips.1 polygraph-pgl2ldif.1 \ |
65 |
polygraph-pmix2-ips.1 polygraph-pmix3-ips.1 polygraph-polymon.1 \ |
66 |
polygraph-polyprobe.1 polygraph-polyrrd.1 polygraph-pop-test.1 \ |
67 |
polygraph-reporter.1 polygraph-rng-test.1 polygraph-server.1 \ |
68 |
polygraph-udp2tcpd.1 polygraph-webaxe4-ips.1 |
69 |
|
70 |
MAN7= polygraph.7 |
71 |
|
72 |
.include <bsd.port.mk> |