Changeset View
Changeset View
Standalone View
Standalone View
head/benchmarks/polygraph/Makefile
Show All 26 Lines | |||||
GNUPLOT_DESC= GNUPlot for full reporting functionality | GNUPLOT_DESC= GNUPlot for full reporting functionality | ||||
OPENSSL_DESC= Enable SSL/HTTPS support | OPENSSL_DESC= Enable SSL/HTTPS support | ||||
PERL_DESC= Install Perl for PolyGraph tools | PERL_DESC= Install Perl for PolyGraph tools | ||||
ZLIB_DESC= Enable HTTP compression support | ZLIB_DESC= Enable HTTP compression support | ||||
OPTIONS_DEFAULT= OPENSSL ZLIB | OPTIONS_DEFAULT= OPENSSL ZLIB | ||||
.include <bsd.port.options.mk> | GNUPLOT_RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot | ||||
.if ${PORT_OPTIONS:MGNUPLOT} | OPENSSL_USE= OPENSSL=yes | ||||
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot | PERL_USES= perl5 | ||||
.endif | PERL_USE= PERL5=run | ||||
ZLIB_CONFIGURE_WITH= zlib=/usr | |||||
.include <bsd.port.options.mk> | |||||
.if ${PORT_OPTIONS:MOPENSSL} | .if ${PORT_OPTIONS:MOPENSSL} | ||||
USE_OPENSSL= yes | |||||
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} | 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 | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |