freebsd-ports/benchmarks/polygraph/Makefile
Gerald Pfeifer 7e339abf8a Replace USE_GCC=4.2+ by USE_GCC=any. [1]
And USE_GMAKE by USES=gmake where touching a port because of the above.

Approved by:	portmgr (bapt) [1]
2014-03-01 21:23:14 +00:00

57 lines
1.2 KiB
Makefile

# 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= A 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>