Makes gnucash-docs as a dependency optional.

PR:		ports/150990
Submitted by:	Guido Falsi <mad@madpilot.net>
This commit is contained in:
Jeremy Messenger 2010-10-02 16:53:11 +00:00
parent 0c5f978da8
commit 7073457e29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262327

View File

@ -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>