From 2230fc5dfc02a520d15e9a0f77da159099221613 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 13 Sep 2012 14:12:00 +0000 Subject: Enable python bindings, bump PKGREVISION. (This package already depends on python via glib, so this change is effectively free! :) ). --- finance/gnucash/Makefile | 12 +++++++++--- finance/gnucash/PLIST | 8 +++++++- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'finance') diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index 0972fbbc2cb..672af7f1c32 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.169 2012/09/07 19:16:34 adam Exp $ +# $NetBSD: Makefile,v 1.170 2012/09/13 14:12:00 wiz Exp $ # DISTNAME= gnucash-2.4.11 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= finance MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnucash/} @@ -26,9 +26,14 @@ INFO_FILES= YES CONFIGURE_ARGS+= --with-html-engine=webkit CONFIGURE_ARGS+= --disable-dbi +CONFIGURE_ARGS+= --enable-python-bindings REPLACE_PERL+= src/quotes/gnc-fq-dump -REPLACE_PERL+= src/optional/xsl/vcard-gnccustomer.pl +REPLACE_PERL+= packaging/win32/exetype.pl +REPLACE_PERL+= src/backend/xml/test/grab-types.pl +REPLACE_PERL+= src/quotes/Quote_example.pl + +PY_PATCHPLIST= yes CONFIGURE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/" MAKE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/" @@ -58,6 +63,7 @@ GCONF_SCHEMAS+= apps_gnucash_dialog_business_common.schemas .include "../../devel/libgnomeui/buildlink3.mk" .include "../../finance/libofx/buildlink3.mk" .include "../../lang/guile/buildlink3.mk" +.include "../../lang/python/extension.mk" .include "../../misc/goffice0.8/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../textproc/libxml2/buildlink3.mk" diff --git a/finance/gnucash/PLIST b/finance/gnucash/PLIST index 29cfceb595d..dd4ce7b47cc 100644 --- a/finance/gnucash/PLIST +++ b/finance/gnucash/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.46 2012/07/29 19:59:49 wiz Exp $ +@comment $NetBSD: PLIST,v 1.47 2012/09/13 14:12:00 wiz Exp $ bin/gnc-fq-check bin/gnc-fq-dump bin/gnc-fq-helper @@ -265,6 +265,12 @@ lib/libgnc-core-utils.la lib/libgnc-gnome.la lib/libgnc-module.la lib/libgnc-qof.la +${PYSITELIB}/gnucash/__init__.py +${PYSITELIB}/gnucash/_gnucash_core_c.la +${PYSITELIB}/gnucash/function_class.py +${PYSITELIB}/gnucash/gnucash_business.py +${PYSITELIB}/gnucash/gnucash_core.py +${PYSITELIB}/gnucash/gnucash_core_c.py libexec/gnucash/overrides/gnucash-env libexec/gnucash/overrides/gnucash-make-guids libexec/gnucash/overrides/guile -- cgit v1.2.3