aboutsummaryrefslogtreecommitdiff
path: root/devel/kcachegrind
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2012-10-05 15:02:43 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2012-10-05 15:02:43 +0000
commit3c40faf631062349c474d5d98e8553cef4bff0ec (patch)
treee763ddf9056af761224bb746fa64db2fcf10f9a7 /devel/kcachegrind
parent5acc115897b33077e2164648e79d94a983931596 (diff)
downloadports-3c40faf631062349c474d5d98e8553cef4bff0ec.tar.gz
ports-3c40faf631062349c474d5d98e8553cef4bff0ec.zip
Notes
Diffstat (limited to 'devel/kcachegrind')
-rw-r--r--devel/kcachegrind/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/devel/kcachegrind/Makefile b/devel/kcachegrind/Makefile
index 0f2d8f162983..97ac790fe8ea 100644
--- a/devel/kcachegrind/Makefile
+++ b/devel/kcachegrind/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: KCachegrind
-# Date created: Jun 3 2004
-# Whom: Simon Barner <barner@gmx.de>
-#
+# Created by: Simon Barner <barner@gmx.de>
# $FreeBSD$
-#
PORTNAME= kcachegrind
PORTVERSION= 0.7.0
@@ -25,17 +21,19 @@ USE_QT4= moc_build qmake_build rcc_build uic_build
INSTALLS_ICONS= yes
USE_GETTEXT= yes
-OPTIONS= DOT "Use GraphViz/dot to render call graphs" on \
- VALGRIND "Install devel/valgrind" off
+OPTIONS_DEFINE= DOT VALGRIND
+OPTIONS_DEFAULT= DOT
+DOT_DESC= Use GraphViz/dot to render call graphs
+VALGRIND_DESC= Install devel/valgrind
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined (WITH_DOT)
+.if ${PORT_OPTIONS:MDOT}
RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
.endif
-.if defined (WITH_VALGRIND)
+.if ${PORT_OPTIONS:MVALGRIND}
RUN_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>