aboutsummaryrefslogtreecommitdiffstats
path: root/finance/gnucash
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2011-08-20 01:48:34 +0800
committerkwm <kwm@FreeBSD.org>2011-08-20 01:48:34 +0800
commit8d7a2db818b5989263a8a7a7fe13ed5b2a890ca9 (patch)
tree9161dc11834373d8278ac97d888d1e48590584c6 /finance/gnucash
parent6572cbc95a59063452c6493760f1cc9007af93aa (diff)
downloadfreebsd-ports-gnome-8d7a2db818b5989263a8a7a7fe13ed5b2a890ca9.tar.gz
freebsd-ports-gnome-8d7a2db818b5989263a8a7a7fe13ed5b2a890ca9.tar.zst
freebsd-ports-gnome-8d7a2db818b5989263a8a7a7fe13ed5b2a890ca9.zip
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]
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