summaryrefslogtreecommitdiff
path: root/devel/kcachegrind/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kcachegrind/Makefile')
-rw-r--r--devel/kcachegrind/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/kcachegrind/Makefile b/devel/kcachegrind/Makefile
new file mode 100644
index 00000000000..aa67310e397
--- /dev/null
+++ b/devel/kcachegrind/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2013/11/07 10:42:26 markd Exp $
+
+DISTNAME= kcachegrind-${_KDE_VERSION}
+CATEGORIES= devel
+COMMENT= Visualization of Performance Profiling Data
+
+.include "../../meta-pkgs/kde4/Makefile.kde4"
+
+REPLACE_PERL+= \
+ converters/dprof2calltree \
+ converters/memprof2calltree \
+ converters/op2calltree
+
+# REPLACE_PHP+= converters/pprof2calltree
+SUBST_CLASSES+= php
+SUBST_MESSAGE.php= Fixing PHP path
+SUBST_STAGE.php= post-configure
+SUBST_FILES.php= converters/pprof2calltree
+SUBST_SED.php= -e 's,/usr/bin/env php,${PREFIX}/bin/php,'
+
+REPLACE_PYTHON+= \
+ converters/hotshot2calltree
+
+.include "../../meta-pkgs/kde4/kde4.mk"
+
+.include "../../lang/php/phpversion.mk"
+.include "${PHPPKGSRCDIR}/buildlink3.mk"
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/kdelibs4/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"