[23316] trunk/dports/gnome/gnucash/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 28 12:11:06 PDT 2007


Revision: 23316
          http://trac.macosforge.org/projects/macports/changeset/23316
Author:   mas at macports.org
Date:     2007-03-28 12:11:04 -0700 (Wed, 28 Mar 2007)

Log Message:
-----------
new variant +guile16 (enabled by default) to use old but working version of guile; enable OFX by default; really disable HBCI if requested by user while aqbanking is installed

Modified Paths:
--------------
    trunk/dports/gnome/gnucash/Portfile

Modified: trunk/dports/gnome/gnucash/Portfile
===================================================================
--- trunk/dports/gnome/gnucash/Portfile	2007-03-28 18:26:40 UTC (rev 23315)
+++ trunk/dports/gnome/gnucash/Portfile	2007-03-28 19:11:04 UTC (rev 23316)
@@ -3,7 +3,7 @@
 PortSystem        1.0
 name              gnucash
 version		  2.0.5
-revision	  0
+revision	  1
 categories        gnome x11
 maintainers       mas at seligma.com
 description       a personal and small-business financial-accounting software
@@ -18,26 +18,28 @@
 		  GnuCash is supposed to run as root once after initial \
 		  installation.  This port does not work around this \
 		  decision at the moment. -- \
-		  Use variant +enable_ofx to get OFX connectivity built in. \
-		  Without that variant, OFX will be disabled. \
-		  HBCI and online stock quote retrieval are enabled by \
-		  default, but can be disabled with variant +without_hbci.
+		  There are several variants that disable dependencies that \
+		  have proven problematic for some people.  Variant +guile16 \
+		  is enabled by default because newer guile versions do not \
+		  yet work correctly with MacPorts.
 homepage          http://www.gnucash.org/
 master_sites      http://www.gnucash.org/pub/gnucash/sources/stable/
 checksums	  md5 0fa3da0122a025b1abcba524740d7633 
 		  # gpg signature for 2.0.5 verified
 depends_lib	  lib:XML/Parser.pm:p5-xml-parser \
-		  port:glib1 \
 		  port:glib2 \
 		  port:gconf \
-		  lib:libguile:slib-guile \
-		  bin:g-wrap-config:g-wrap \
+		  port:guile \
+		  port:slib \
+		  port:slib-guile \
+		  port:g-wrap \
 		  lib:libpopt:popt \
 		  lib:libgnomeui:libgnomeui \
 		  lib:libgnomeprintui:libgnomeprintui \
 		  lib:libgtkhtml-3:libgtkhtml3 \
 		  lib:libgsf:libgsf \
 		  lib:aqbanking:aqbanking \
+		  lib:libofx:libofx \
 		  lib:Finance/Quote.pm:p5-finance-quote \
 		  port:gnucash-docs
 depends_build	  bin:glibtoolize:libtool
@@ -46,8 +48,14 @@
 		  CFLAGS="-L${prefix}/lib -I${prefix}/include" \
 		  LDFLAGS=-L${prefix}/lib
 configure.args	  --disable-glibtest --disable-debug --disable-profile \
-		  --disable-dependency-tracking --enable-hbci --disable-ofx
+		  --disable-dependency-tracking --enable-hbci --enable-ofx
 
+default_variants +guile16
+default_variants +without_ofx
+	# ofx is not enabled by default since some of the ports required
+	# by libofx have problems (distfile for mkcatalog is unavailable;
+	# openjade requires gcc33 which reportedly does not work on Intel)
+
 variant without_quotes {
 	depends_lib-delete	lib:Finance/Quote.pm:p5-finance-quote
 }
@@ -55,17 +63,24 @@
 variant without_hbci {
 	depends_lib-delete	lib:aqbanking:aqbanking
 	configure.args-delete	--enable-hbci
+	configure.args-append	--disable-hbci
 }
 
-variant enable_ofx {
-	# ofx is not enabled by default since some of the ports required
-	# by libofx have problems (distfile for mkcatalog is unavailable;
-	# openjade requires gcc33 which reportedly does not work on Intel)
-	depends_lib-append	lib:libofx:libofx
-	configure.args-delete	--disable-ofx
-	configure.args-append	--enable-ofx
+variant without_ofx {
+	depends_lib-delete	lib:libofx:libofx
+	configure.args-delete	--enable-ofx
+	configure.args-append	--disable-ofx
 }
 
 variant without_docs {
 	depends_lib-delete	port:gnucash-docs
 }
+
+variant guile16 {
+	depends_lib-delete	port:guile
+	depends_lib-delete	port:slib-guile
+	depends_lib-delete	port:g-wrap
+	depends_lib-append	port:guile16 \
+				port:slib-guile16 \
+				port:g-wrap16
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070328/b4dd2b1a/attachment.html


More information about the macports-changes mailing list