blob: 3884df9440824372c04d38fd7ff7798f75516836 (
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
|
# $NetBSD: Makefile,v 1.196 2014/02/12 23:17:53 tron Exp $
DISTNAME= gnucash-2.6.1
PKGREVISION= 2
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnucash/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.gnucash.org/
COMMENT= Personal or business finance management program
LICENSE= gnu-gpl-v3
DEPENDS+= guile-slib>=3.2.1:../../devel/guile-slib
DEPENDS+= guile-www>=2.21:../../devel/guile-www
DEPENDS+= p5-Finance-Quote-[0-9]*:../../finance/p5-Finance-Quote
DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
DEPENDS+= dconf-[0-9]*:../../devel/dconf
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake intltool makeinfo msgfmt perl:run pkg-config
GNU_CONFIGURE= yes
INFO_FILES= YES
CONFIGURE_ARGS+= --with-html-engine=webkit
CONFIGURE_ARGS+= --disable-dbi
CONFIGURE_ARGS+= --enable-python
CONFIGURE_ARGS+= --with-xdg-data-dirs=${PREFIX}/share
REPLACE_PERL+= src/quotes/gnc-fq-dump
REPLACE_PERL+= packaging/win32/exetype.pl
REPLACE_PERL+= src/backend/xml/test/grab-types.pl
REPLACE_PERL+= src/quotes/Quote_example.pl
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.6.1
REPLACE_PYTHON+= src/python/pycons/*.py src/python/pycons/pycons
PY_PATCHPLIST= yes
PKG_SYSCONFSUBDIR= gnucash
CONF_FILES+= ${PREFIX}/share/examples/gnucash/gnucash/config ${PKG_SYSCONFDIR}/config
CONF_FILES+= ${PREFIX}/share/examples/gnucash/gnucash/environment ${PKG_SYSCONFDIR}/environment
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/gnucash
.include "../../devel/glib2/schemas.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../finance/libofx/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/guile/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../misc/goffice0.8/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/webkit-gtk/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|