pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/gnucash Add default-on ofx option.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8916dbfc6d74
branches: trunk
changeset: 645640:8916dbfc6d74
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jan 31 18:41:01 2015 +0000
description:
Add default-on ofx option.
diffstat:
finance/gnucash/Makefile | 5 +++--
finance/gnucash/PLIST | 8 ++++----
finance/gnucash/options.mk | 15 +++++++++++++++
3 files changed, 22 insertions(+), 6 deletions(-)
diffs (77 lines):
diff -r 334c9188924a -r 8916dbfc6d74 finance/gnucash/Makefile
--- a/finance/gnucash/Makefile Sat Jan 31 14:02:18 2015 +0000
+++ b/finance/gnucash/Makefile Sat Jan 31 18:41:01 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.212 2014/12/30 14:07:45 wiz Exp $
+# $NetBSD: Makefile,v 1.213 2015/01/31 18:41:01 wiz Exp $
DISTNAME= gnucash-2.6.5
CATEGORIES= finance
@@ -43,10 +43,11 @@
CONF_FILES+= ${PREFIX}/share/examples/gnucash/gnucash/environment ${PKG_SYSCONFDIR}/environment
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/gnucash
+.include "options.mk"
+
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.28.0
.include "../../devel/glib2/schemas.mk"
.include "../../devel/glib2/buildlink3.mk"
-.include "../../finance/libofx/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../graphics/libgnomecanvas/buildlink3.mk"
diff -r 334c9188924a -r 8916dbfc6d74 finance/gnucash/PLIST
--- a/finance/gnucash/PLIST Sat Jan 31 14:02:18 2015 +0000
+++ b/finance/gnucash/PLIST Sat Jan 31 18:41:01 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.52 2014/12/30 14:07:45 wiz Exp $
+@comment $NetBSD: PLIST,v 1.53 2015/01/31 18:41:01 wiz Exp $
bin/gnc-fq-check
bin/gnc-fq-dump
bin/gnc-fq-helper
@@ -238,7 +238,7 @@
lib/gnucash/libgncmod-ledger-core.la
lib/gnucash/libgncmod-locale-reports-us.la
lib/gnucash/libgncmod-log-replay.la
-lib/gnucash/libgncmod-ofx.la
+${PLIST.ofx}lib/gnucash/libgncmod-ofx.la
lib/gnucash/libgncmod-python.la
lib/gnucash/libgncmod-qif-import.la
lib/gnucash/libgncmod-qif.la
@@ -337,7 +337,7 @@
share/glib-2.0/schemas/org.gnucash.dialogs.gschema.xml
share/glib-2.0/schemas/org.gnucash.dialogs.import.csv.gschema.xml
share/glib-2.0/schemas/org.gnucash.dialogs.import.generic.gschema.xml
-share/glib-2.0/schemas/org.gnucash.dialogs.import.ofx.gschema.xml
+${PLIST.ofx}share/glib-2.0/schemas/org.gnucash.dialogs.import.ofx.gschema.xml
share/glib-2.0/schemas/org.gnucash.dialogs.import.qif.gschema.xml
share/glib-2.0/schemas/org.gnucash.dialogs.reconcile.gschema.xml
share/glib-2.0/schemas/org.gnucash.dialogs.sxs.gschema.xml
@@ -1120,7 +1120,7 @@
share/gnucash/ui/gnc-plugin-customer_import-ui.xml
share/gnucash/ui/gnc-plugin-file-history-ui.xml
share/gnucash/ui/gnc-plugin-log-replay-ui.xml
-share/gnucash/ui/gnc-plugin-ofx-ui.xml
+${PLIST.ofx}share/gnucash/ui/gnc-plugin-ofx-ui.xml
share/gnucash/ui/gnc-plugin-page-account-tree-ui.xml
share/gnucash/ui/gnc-plugin-page-account-tree2-ui.xml
share/gnucash/ui/gnc-plugin-page-budget-ui.xml
diff -r 334c9188924a -r 8916dbfc6d74 finance/gnucash/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/gnucash/options.mk Sat Jan 31 18:41:01 2015 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2015/01/31 18:41:01 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gnucash
+PKG_SUPPORTED_OPTIONS= libofx
+PKG_SUGGESTED_OPTIONS= libofx
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= ofx
+
+.if !empty(PKG_OPTIONS:Mglibofx)
+.include "../../finance/libofx/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-ofx
+.endif
Home |
Main Index |
Thread Index |
Old Index