aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/polygraph
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /benchmarks/polygraph
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'benchmarks/polygraph')
-rw-r--r--benchmarks/polygraph/Makefile25
1 files changed, 7 insertions, 18 deletions
diff --git a/benchmarks/polygraph/Makefile b/benchmarks/polygraph/Makefile
index 5cac7c00784b..3a541f113f31 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>