summaryrefslogtreecommitdiff
path: root/finance/gnucash/Makefile
blob: a620c133d27e769f1773a94f13aa5a2670ea38f6 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# $NetBSD: Makefile,v 1.112 2007/04/11 22:45:56 wiz Exp $
#

DISTNAME=		gnucash-2.0.5
PKGREVISION=		2
CATEGORIES=		finance
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=gnucash/}

MAINTAINER=		wiz@NetBSD.org
HOMEPAGE=		http://www.gnucash.org/
COMMENT=		Personal or business finance management program

DEPENDS+=		guile-slib-[0-9]*:../../devel/guile-slib
DEPENDS+=		guile-www-[0-9]*:../../devel/guile-www

USE_DIRS+=		xdg-1.1
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake intltool makeinfo msgfmt perl:run pkg-config
GNU_CONFIGURE=		yes
INFO_FILES=		YES

REPLACE_PERL+=		src/quotes/gnc-fq-dump
REPLACE_PERL+=		src/optional/xsl/vcard-gnccustomer.pl

PKGCONFIG_OVERRIDE+=	lib/goffice-0.0.4/libgoffice-1.pc.in
PKGCONFIG_OVERRIDE+=	lib/libgsf-1.12.3/libgsf-1.pc.in
PKGCONFIG_OVERRIDE+=	lib/libgsf-1.12.3/libgsf-gnome-1.pc.in
PKGCONFIG_OVERRIDE+=	lib/libgsf-1.12.3/libgsf-win32-1.pc.in

CONFIGURE_ENV+=		GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"
MAKE_ENV+=		GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"

GCONF2_SCHEMAS+=	apps_gnucash_history.schemas
GCONF2_SCHEMAS+=	apps_gnucash_dialog_commodities.schemas
GCONF2_SCHEMAS+=	apps_gnucash_dialog_common.schemas
GCONF2_SCHEMAS+=	apps_gnucash_dialog_print_checks.schemas
GCONF2_SCHEMAS+=	apps_gnucash_dialog_prices.schemas
GCONF2_SCHEMAS+=	apps_gnucash_warnings.schemas
GCONF2_SCHEMAS+=	apps_gnucash_dialog_reconcile.schemas
GCONF2_SCHEMAS+=	apps_gnucash_dialog_totd.schemas
GCONF2_SCHEMAS+=	apps_gnucash_general.schemas
GCONF2_SCHEMAS+=	apps_gnucash_window_pages_account_tree.schemas
GCONF2_SCHEMAS+=	apps_gnucash_window_pages_register.schemas
GCONF2_SCHEMAS+=	apps_gnucash_import_generic_matcher.schemas
#GCONF2_SCHEMAS+=	apps_gnucash_dialog_hbci.schemas
GCONF2_SCHEMAS+=	apps_gnucash_dialog_business_common.schemas

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.g-wrap+=	g-wrap<1.9.7
.include "../../devel/g-wrap/buildlink3.mk"
.include "../../devel/libgsf/buildlink3.mk"
.include "../../devel/libglade2/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
BUILDLINK_API_DEPENDS.pango+=	pango>=1.8.0
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../finance/libofx/buildlink3.mk"
.include "../../lang/guile/buildlink3.mk"
.include "../../lang/perl5/buildlink3.mk"
BUILDLINK_API_DEPENDS.goffice+=	goffice>=0.1.2
.include "../../misc/goffice/buildlink3.mk"
.include "../../print/libgnomeprint/buildlink3.mk"
.include "../../print/libgnomeprintui/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+=	gtk2+>=2.6.0
.include "../../www/gtkhtml38/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"