# Created by: Dima Sivachenko # $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 .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