summaryrefslogtreecommitdiff
path: root/finance/kmymoney2/Makefile
blob: 87a0b37db23372a5e9b38fa23ba0f788f061a2c6 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.88 2015/04/25 14:20:48 tnn Exp $

DISTNAME=	kmymoney2-1.0.5
PKGREVISION=	33
CATEGORIES=	finance kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=kmymoney2/}
EXTRACT_SUFX=  .tar.bz2

MAINTAINER=	gary@duzan.org
HOMEPAGE=	http://kmymoney2.sourceforge.net/
COMMENT=	Personal finance manager for KDE
LICENSE=	gnu-gpl-v2

USE_TOOLS+=		gmake msgfmt perl pkg-config bash gsed
USE_LANGUAGES=		c c++
USE_LIBTOOL=		YES
GNU_CONFIGURE=		YES
CONFIG_SHELL=		${BASH}
SHLIBTOOL_OVERRIDE=	# empty

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "NetBSD"
USE_TOOLS+=		gsed
.endif
USE_TOOLS+=		autoconf

pre-configure:
	cd ${WRKSRC} && autoconf

.include "options.mk"

CONFIGURE_ARGS+=	--enable-mt

REPLACE_PERL+=	admin/fixuifiles

.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.if (${OPSYS} == "NetBSD")
BUILDLINK_ABI_DEPENDS.qt3-libs+=	qt3-libs>=3.3.8nb9
.endif
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"