diff options
author | mezz <mezz@FreeBSD.org> | 2010-10-03 00:53:11 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2010-10-03 00:53:11 +0800 |
commit | de877c77c99509a81bae3de760ef70f1e82434ed (patch) | |
tree | fba60d47d95567fd7ee309cdd178f9e4f4789bef | |
parent | 2ff522cd5ab091097a5ffae58542002216ff6209 (diff) | |
download | freebsd-ports-gnome-de877c77c99509a81bae3de760ef70f1e82434ed.tar.gz freebsd-ports-gnome-de877c77c99509a81bae3de760ef70f1e82434ed.tar.zst freebsd-ports-gnome-de877c77c99509a81bae3de760ef70f1e82434ed.zip |
Makes gnucash-docs as a dependency optional.
PR: ports/150990
Submitted by: Guido Falsi <mad@madpilot.net>
-rw-r--r-- | finance/gnucash/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index aed7665b7940..d146f83305ca 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -26,12 +26,12 @@ RUN_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile \ ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \ ${SITE_PERL}/Finance/Quote.pm:${PORTSDIR}/finance/p5-Finance-Quote \ ${SITE_PERL}/HTML/TableExtract.pm:${PORTSDIR}/www/p5-HTML-TableExtract \ - ${SITE_PERL}/Finance/QuoteHist.pm:${PORTSDIR}/finance/p5-Finance-QuoteHist \ - ${LOCALBASE}/share/omf/gnucash-docs/gnucash-guide-C.omf:${PORTSDIR}/finance/gnucash-docs + ${SITE_PERL}/Finance/QuoteHist.pm:${PORTSDIR}/finance/p5-Finance-QuoteHist -OPTIONS= AQBANKING "AqBanking support (HBCI/OpenHBCI)" off \ - OFX "OFX support" off \ - POSTGRESQL "Enable Postgresql as Backend" off +OPTIONS= AQBANKING "AqBanking support (HBCI/OpenHBCI)" off \ + OFX "OFX support" off \ + POSTGRESQL "Enable Postgresql as Backend" off \ + GCDOCS "Install gnucash-docs" on USE_BZIP2= yes USE_GETTEXT= yes @@ -102,6 +102,10 @@ CONFIGURE_ARGS+=--disable-sql PLIST_SUB+= PGBACKEND="@comment " .endif +.if !defined(WITHOUT_GCDOCS) +RUN_DEPENDS+= ${LOCALBASE}/share/omf/gnucash-docs/gnucash-guide-C.omf:${PORTSDIR}/finance/gnucash-docs +.endif + CONFIGURE_ENV+= LIBS="${GC_LIBS}" .include <bsd.port.post.mk> |