summaryrefslogtreecommitdiff
path: root/finance/gnucash
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-08-19 17:48:34 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-08-19 17:48:34 +0000
commit806cd894590642df08e5a5de7e5388838a122311 (patch)
tree4f83ebadb678909d25fca02db9d555e41825995b /finance/gnucash
parentUpdate database version, and ensure they're versioned in future. (diff)
Add option for experimental localized tax categories [1]
Pet portlint by moving LICENSE block to correct place and moving CPPFLAGS out of configure_env. PR: ports/159822 [1] Submitted by: Armin Gruner <ag@muc.de> [1]
Notes
Notes: svn path=/head/; revision=280026
Diffstat (limited to 'finance/gnucash')
-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