summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2010-10-02 16:53:11 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2010-10-02 16:53:11 +0000
commit7073457e29f2eb6c36ce315ebab8e85da91b3064 (patch)
treedc801c5a5bc405512e49545f4129a97f8c9488da /finance
parentFix gnome-sudoku and gnome-glcless in the runtime, bump the PORTREVISION. (diff)
Makes gnucash-docs as a dependency optional.
PR: ports/150990 Submitted by: Guido Falsi <mad@madpilot.net>
Notes
Notes: svn path=/head/; revision=262327
Diffstat (limited to 'finance')
-rw-r--r--finance/gnucash/Makefile14
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>