1999-04-14 22:31:57 +02:00
|
|
|
# New ports collection makefile for: polygraph
|
|
|
|
# Date created: 3 March 1999
|
|
|
|
# Whom: Dima Sivachenko <dima@chg.ru>
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1999-04-14 22:31:57 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= polygraph
|
2012-06-24 13:06:14 +02:00
|
|
|
PORTVERSION= 4.3.2
|
1999-04-14 22:31:57 +02:00
|
|
|
CATEGORIES= benchmarks www
|
2007-09-14 14:25:44 +02:00
|
|
|
MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \
|
2012-06-24 13:06:14 +02:00
|
|
|
http://people.bsdgroup.de/~as/freebsd/distfiles/
|
2000-04-09 00:04:57 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2002-08-03 12:41:53 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-04-14 22:31:57 +02:00
|
|
|
|
2007-09-15 14:11:41 +02:00
|
|
|
MAINTAINER= as@bsdgroup.de
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A benchmarking tool for Web proxies
|
1999-04-14 22:31:57 +02:00
|
|
|
|
2012-06-24 13:06:14 +02:00
|
|
|
LICENSE= AL2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USE_GCC= 4.2+
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
1999-04-14 22:31:57 +02:00
|
|
|
|
2004-07-13 22:21:35 +02:00
|
|
|
CONFLICTS= ltrace-0*
|
|
|
|
|
2012-06-24 13:06:14 +02:00
|
|
|
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
|
2007-09-14 14:25:44 +02:00
|
|
|
|
2012-06-24 13:06:14 +02:00
|
|
|
OPTIONS_DEFAULT= OPENSSL ZLIB
|
2007-09-14 14:25:44 +02:00
|
|
|
|
2012-06-24 13:06:14 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MGNUPLOT}
|
|
|
|
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
|
2010-04-18 20:58:20 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-24 13:06:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
2007-09-14 14:25:44 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-24 13:06:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MPERL}
|
2007-09-14 14:25:44 +02:00
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
.endif
|
|
|
|
|
2012-06-24 13:06:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MZLIB}
|
|
|
|
CONFIGURE_ARGS+= --with-zlib=/usr
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-zlib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN1= polygraph-aka.1 polygraph-beepmon.1 polygraph-cdb.1 \
|
|
|
|
polygraph-client.1 polygraph-cmp-lx.1 polygraph-distr-test.1 \
|
|
|
|
polygraph-dns-cfg.1 polygraph-lr.1 polygraph-ltrace.1 \
|
|
|
|
polygraph-lx.1 polygraph-pgl-test.1 polygraph-pgl2acl.1 \
|
|
|
|
polygraph-pgl2eng.1 polygraph-pgl2ips.1 polygraph-pgl2ldif.1 \
|
|
|
|
polygraph-pmix2-ips.1 polygraph-pmix3-ips.1 polygraph-polymon.1 \
|
|
|
|
polygraph-polyprobe.1 polygraph-polyrrd.1 polygraph-pop-test.1 \
|
|
|
|
polygraph-reporter.1 polygraph-rng-test.1 polygraph-server.1 \
|
|
|
|
polygraph-udp2tcpd.1 polygraph-webaxe4-ips.1
|
|
|
|
|
|
|
|
MAN7= polygraph.7
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|