aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--finance/gnucash/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
index 4848201e36e7..975fbb5fe833 100644
--- a/finance/gnucash/Makefile
+++ b/finance/gnucash/Makefile
@@ -15,6 +15,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Quicken-like money and finance manager
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile \
${LOCALBASE}/share/guile/1.8/slibcat:${PORTSDIR}/lang/slib-guile
LIB_DEPENDS= gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring \
@@ -28,12 +31,10 @@ RUN_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile \
OPTIONS= AQBANKING "AqBanking support (HBCI/OpenHBCI)" off \
OFX "OFX support" off \
DATABASE "Enable SQL database backends" off \
+ LOCALE_TAX "Enable localized tax categories" off \
WEBKIT "Use webkit instead of gtkhtml for the HTML engine" off \
PYTHON "Install Python bindings" off
-LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/COPYING
-
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
@@ -43,8 +44,8 @@ INSTALLS_ICONS= yes
USE_GNOME= gnomeprefix libglade2 libgnomeui
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-error-on-warning \
--disable-doxygen
@@ -99,6 +100,10 @@ CONFIGURE_ARGS+=--disable-dbi
PLIST_SUB+= DATABASE="@comment "
.endif
+.if defined(WITH_LOCALE_TAX)
+CONFIGURE_ARGS+=--enable-locale-specific-tax
+.endif
+
.if defined(WITH_WEBKIT)
CONFIGURE_ARGS+=--with-html-engine=webkit
LIB_DEPENDS+= webkit-1.0.13:${PORTSDIR}/www/webkit-gtk2