aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-01-11 22:05:13 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-01-11 22:05:13 +0000
commitf0bbc5549847636f4855a852391d983d21ba36b9 (patch)
tree59e939c7f40e98b12bb2925e7f40b77cf109f817 /benchmarks
parentb7899c7f1914fe429a1cb3ad0d80697907d811df (diff)
downloadports-f0bbc5549847636f4855a852391d983d21ba36b9.tar.gz
ports-f0bbc5549847636f4855a852391d983d21ba36b9.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/rubygem-railsbench/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/benchmarks/rubygem-railsbench/Makefile b/benchmarks/rubygem-railsbench/Makefile
index ee02e9d90834..62575eed2b0c 100644
--- a/benchmarks/rubygem-railsbench/Makefile
+++ b/benchmarks/rubygem-railsbench/Makefile
@@ -1,7 +1,4 @@
-# Ports collection makefile for: rubygem-railsbench
-# Date created: 02 April 2007
-# Whom: Alexander Logvinov <ports@logvinov.com>
-#
+# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
PORTNAME= railsbench
@@ -19,13 +16,14 @@ USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/railsbench
-OPTIONS= GRUFF "Plotting of perf data support using gruff" off
+OPTIONS_DEFINE= GRUFF
+GRUFF_DESC= Plotting of perf data support using gruff
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GRUFF)
+.if ${PORT_OPTIONS:MGRUFF}
RUN_DEPENDS+= rubygem-gruff>=0.2.8:${PORTSDIR}/graphics/rubygem-gruff
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>