blob: dac7906f28ef18b3f2d0736919e0de3d3e916997 (
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
52
53
54
55
56
57
|
# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$
PORTNAME= polygraph
PORTVERSION= 4.3.2
CATEGORIES= benchmarks www
MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \
http://people.bsdgroup.de/~as/freebsd/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Benchmarking tool for Web proxies
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GCC= any
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFLICTS= ltrace-0*
OPTIONS_DEFINE= GNUPLOT OPENSSL PERL ZLIB
GNUPLOT_DESC= GNUPlot for full reporting functionality
OPENSSL_DESC= Enable SSL/HTTPS support
PERL_DESC= Install Perl for PolyGraph tools
ZLIB_DESC= Enable HTTP compression support
OPTIONS_DEFAULT= OPENSSL ZLIB
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUPLOT}
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
.endif
.if ${PORT_OPTIONS:MOPENSSL}
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.else
CONFIGURE_ARGS+= --without-ssl
.endif
.if ${PORT_OPTIONS:MPERL}
USES+= perl5
USE_PERL5= run
.endif
.if ${PORT_OPTIONS:MZLIB}
CONFIGURE_ARGS+= --with-zlib=/usr
.else
CONFIGURE_ARGS+= --without-zlib
.endif
.include <bsd.port.mk>
|