summaryrefslogtreecommitdiffstats
path: root/finance/gnucash/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 07:12:47 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 07:12:47 +0800
commitc02b03a2057196912df7e5b8a6494f2557b74297 (patch)
tree9d4df288f77dfc31f41e21863356f23ad1ad87e9 /finance/gnucash/Makefile
parenta1ba0b10c15818d7c9cf2829be4cc54b9c56e27f (diff)
downloadmarcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.gz
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.bz2
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.lz
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.xz
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.zst
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.zip
Chase webkit-gtk2 shlib name change libwebkit-1.0.so.13 -> libwebkitgtk-1.0.so.0
Bump portrevision except broken ports. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15365 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'finance/gnucash/Makefile')
-rw-r--r--finance/gnucash/Makefile124
1 files changed, 124 insertions, 0 deletions
diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile
new file mode 100644
index 000000000..14cef957f
--- /dev/null
+++ b/finance/gnucash/Makefile
@@ -0,0 +1,124 @@
+# Ports collection makefile for: gnucash
+# Date created: Mon Feb 03, 1997
+# Whom: David O'Brien (obrien@NUXI.com)
+#
+# $FreeBSD: ports/finance/gnucash/Makefile,v 1.152 2011/03/02 16:02:53 kwm Exp $
+# $MCom: ports/finance/gnucash/Makefile,v 1.26 2008/12/31 03:25:18 mezz Exp $
+#
+
+PORTNAME= gnucash
+PORTVERSION= 2.4.3
+PORTREVISION= 2
+CATEGORIES= finance gnome
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Quicken-like money and finance manager
+
+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 \
+ goffice-0.8.8:${PORTSDIR}/devel/goffice
+RUN_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile \
+ ${LOCALBASE}/share/guile/1.8/slibcat:${PORTSDIR}/lang/slib-guile \
+ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
+ ${SITE_PERL}/Finance/Quote.pm:${PORTSDIR}/finance/p5-Finance-Quote
+
+OPTIONS= AQBANKING "AqBanking support (HBCI/OpenHBCI)" on \
+ OFX "OFX support" on \
+ DATABASE "Enable SQL database backends" 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
+MAKE_JOBS_SAFE= yes
+USE_PERL5= yes
+INSTALLS_ICONS= yes
+USE_GNOME= gnomeprefix libglade2 libgnomeui
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-error-on-warning \
+ --disable-doxygen
+
+MAN1= gnucash.1
+INFO= gnucash-design
+
+GCONF_SCHEMAS= apps_gnucash_dialog_business_common.schemas \
+ apps_gnucash_dialog_commodities.schemas \
+ apps_gnucash_dialog_common.schemas \
+ apps_gnucash_dialog_prices.schemas \
+ apps_gnucash_dialog_print_checks.schemas \
+ apps_gnucash_dialog_reconcile.schemas \
+ apps_gnucash_dialog_scheduled_transctions.schemas \
+ apps_gnucash_dialog_totd.schemas \
+ apps_gnucash_general.schemas \
+ apps_gnucash_history.schemas \
+ apps_gnucash_import_generic_matcher.schemas \
+ apps_gnucash_import_qif.schemas \
+ apps_gnucash_warnings.schemas \
+ apps_gnucash_window_pages_account_tree.schemas \
+ apps_gnucash_window_pages_register.schemas
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_AQBANKING)
+LIB_DEPENDS+= aqbanking.33:${PORTSDIR}/finance/aqbanking \
+ gwengui-gtk2.0:${PORTSDIR}/devel/gwenhywfar \
+ ktoblzcheck.6:${PORTSDIR}/finance/ktoblzcheck
+GCONF_SCHEMAS+= apps_gnucash_dialog_hbci.schemas
+CONFIGURE_ARGS+=--enable-aqbanking
+PLIST_SUB+= AQBANKING=""
+.else
+CONFIGURE_ARGS+=--disable-aqbanking
+PLIST_SUB+= AQBANKING="@comment "
+.endif
+
+.if defined(WITH_OFX)
+CONFIGURE_ARGS+=--enable-ofx
+LIB_DEPENDS+= ofx.4:${PORTSDIR}/finance/libofx
+PLIST_SUB+= OFX=""
+.else
+CONFIGURE_ARGS+=--disable-ofx
+PLIST_SUB+= OFX="@comment "
+.endif
+
+.if defined(WITH_DATABASE)
+CONFIGURE_ARGS+=--enable-dbi
+LIB_DEPENDS+= dbi.0:${PORTSDIR}/databases/libdbi
+PLIST_SUB+= DATABASE=""
+.else
+CONFIGURE_ARGS+=--disable-dbi
+PLIST_SUB+= DATABASE="@comment "
+.endif
+
+.if defined(WITH_WEBKIT)
+CONFIGURE_ARGS+=--with-html-engine=webkit
+LIB_DEPENDS+= webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2
+.else
+USE_GNOME+= gtkhtml3
+.endif
+
+.if defined(WITH_PYTHON)
+CONFIGURE_ARGS+=--enable-python-bindings
+USE_PYTHON= yes
+PLIST_SUB+= PYTHON=""
+.else
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+.if !defined(PACKAGE_BUILDING) && defined(WITH_AQBANKING) && !exists(${LOCALBASE}/lib/libgwengui-gtk2.so.0)
+BROKEN= Please rebuild devel/gwenhywfar with the WITH_GTK2 option set
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>