blob: c577d19f2e3b1e5ea82e895ab181d61abaa4a2fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.8 2012/01/13 10:55:18 obache Exp $
#
DISTNAME= speedcrunch-0.10.1
PKGREVISION= 7
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"
|