summaryrefslogtreecommitdiff
path: root/math/speedcrunch/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-02-03 14:09:17 +0000
committerdrochner <drochner@pkgsrc.org>2010-02-03 14:09:17 +0000
commit2a023fa9ad66b7286fd62eebc6f7a4ace141ad18 (patch)
treeda45ec8142a225559a0d62421f6d3efac3b0a1b8 /math/speedcrunch/Makefile
parent93b4b39deb1cab29b3d595adfe81cb0f0e46270c (diff)
downloadpkgsrc-2a023fa9ad66b7286fd62eebc6f7a4ace141ad18.tar.gz
add speedcrunch-0.10.1, another desktop calculator
Diffstat (limited to 'math/speedcrunch/Makefile')
-rw-r--r--math/speedcrunch/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/math/speedcrunch/Makefile b/math/speedcrunch/Makefile
new file mode 100644
index 00000000000..ddbebd364cd
--- /dev/null
+++ b/math/speedcrunch/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/02/03 14:09:17 drochner Exp $
+#
+
+DISTNAME= speedcrunch-0.10.1
+CATEGORIES= math
+MASTER_SITES= http://speedcrunch.googlecode.com/files/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.speedcrunch.org/
+COMMENT= Calculator
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/speedcrunch-0.10.1/src
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= gui/mainwindow.cpp
+SUBST_VARS.prefix= PREFIX
+
+post-build:
+ (cd ${WRKSRC} && ${QTDIR}/bin/lrelease speedcrunch.pro)
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"