diff options
author | wiz <wiz@pkgsrc.org> | 2015-01-31 18:41:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-01-31 18:41:01 +0000 |
commit | 337bd3df0ea0007d84ec1afd68655e9e72162fbe (patch) | |
tree | f496c911401f183cca20332a087b1bbf2fa1102e /finance | |
parent | de1640cc8a7fa95ef0219cad8c738a10974dde91 (diff) | |
download | pkgsrc-337bd3df0ea0007d84ec1afd68655e9e72162fbe.tar.gz |
Add default-on ofx option.
Diffstat (limited to 'finance')
-rw-r--r-- | finance/gnucash/Makefile | 5 | ||||
-rw-r--r-- | finance/gnucash/PLIST | 8 | ||||
-rw-r--r-- | finance/gnucash/options.mk | 15 |
3 files changed, 22 insertions, 6 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index 6d61355bbb9..0b391cead4a 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -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/config ${PKG_SYSCONFDIR}/ 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 --git a/finance/gnucash/PLIST b/finance/gnucash/PLIST index 5488cf0df87..2e39d8010cf 100644 --- a/finance/gnucash/PLIST +++ b/finance/gnucash/PLIST @@ -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-html.la 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.export.csv.gschema.xml 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-csv-import-ui.xml 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 --git a/finance/gnucash/options.mk b/finance/gnucash/options.mk new file mode 100644 index 00000000000..e59711d16ed --- /dev/null +++ b/finance/gnucash/options.mk @@ -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 |