1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/benchmarks/polygraph/Makefile
Dmitry Marakasov fae555d873 - Fix shebangs
MFH:		2015Q1
2015-03-05 13:01:57 +00:00

60 lines
1.2 KiB
Makefile

# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$
PORTNAME= polygraph
PORTVERSION= 4.3.2
PORTREVISION= 1
CATEGORIES= benchmarks www
MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \
http://people.bsdgroup.de/~as/freebsd/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Benchmarking tool for Web proxies
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= shebangfix tar:tgz
SHEBANG_FILES= tools/*.pl
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>