diff options
author | mat <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | 9d30f78a00bed11384c7259f662e9352754275db (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /benchmarks/polygraph/Makefile | |
parent | 996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff) | |
download | FreeBSD-ports-9d30f78a00bed11384c7259f662e9352754275db.zip FreeBSD-ports-9d30f78a00bed11384c7259f662e9352754275db.tar.gz |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'benchmarks/polygraph/Makefile')
-rw-r--r-- | benchmarks/polygraph/Makefile | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/benchmarks/polygraph/Makefile b/benchmarks/polygraph/Makefile index 5cac7c0..3a541f1 100644 --- a/benchmarks/polygraph/Makefile +++ b/benchmarks/polygraph/Makefile @@ -32,28 +32,17 @@ ZLIB_DESC= Enable HTTP compression support OPTIONS_DEFAULT= OPENSSL ZLIB -.include <bsd.port.options.mk> +GNUPLOT_RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot -.if ${PORT_OPTIONS:MGNUPLOT} -RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot -.endif +OPENSSL_USE= OPENSSL=yes +PERL_USES= perl5 +PERL_USE= PERL5=run +ZLIB_CONFIGURE_WITH= zlib=/usr + +.include <bsd.port.options.mk> .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> |