[110983] trunk/dports/devel/aqbanking5
mk at macports.org
mk at macports.org
Thu Sep 12 15:08:39 PDT 2013
Revision: 110983
https://trac.macports.org/changeset/110983
Author: mk at macports.org
Date: 2013-09-12 15:08:39 -0700 (Thu, 12 Sep 2013)
Log Message:
-----------
aqbanking5: introduce subport aqbanking5-devel (still needs patch due to the fact that it is quite beta)
Modified Paths:
--------------
trunk/dports/devel/aqbanking5/Portfile
Added Paths:
-----------
trunk/dports/devel/aqbanking5/files/
trunk/dports/devel/aqbanking5/files/patch-src_plugins_imexporters_ofx_parser_g_invtranlist.c.diff
Modified: trunk/dports/devel/aqbanking5/Portfile
===================================================================
--- trunk/dports/devel/aqbanking5/Portfile 2013-09-12 21:48:06 UTC (rev 110982)
+++ trunk/dports/devel/aqbanking5/Portfile 2013-09-12 22:08:39 UTC (rev 110983)
@@ -4,10 +4,8 @@
PortSystem 1.0
name aqbanking5
-version 5.0.25
-revision 1
-# this is specific to this port and *version* for downloading it
-set release 95
+# This port offers the latest stable version (also as a gtk subport)
+# as well as the latest beta version as aqbanking5-devel!
categories devel net finance
maintainers mk dports openmaintainer
@@ -23,15 +21,7 @@
is not available for OS X (upstream only has a Linux binary).
homepage http://www2.aquamaniac.de/sites/aqbanking/index.php
-master_sites http://www2.aquamaniac.de/sites/download/download.php?package=03&release=${release}&file=01&dummy=
-distname aqbanking-${version}
-# This is only to be used in case the dist was directly created from git
-#distname aqbanking-${version}.0-git
-checksums md5 b238639962128ce25db81870f65173d9 \
- sha1 80314a6f6114a0a3f0062161bb38effc0f1f4b62 \
- rmd160 6dc5d915e3fda4e2eff7c604ee3fad7ca0e1052d
-
conflicts aqbanking
depends_lib port:gwenhywfar4 \
@@ -46,11 +36,44 @@
universal_variant no
if {$subport == $name} {
- conflicts-append aqbanking5-gtk
+ conflicts-append aqbanking5-devel aqbanking5-gtk
}
+if {$subport == $name || $subport =="aqbanking5-gtk"} {
+ version 5.0.25
+ revision 1
+ # this is specific to this port and *version* for downloading it
+ set release 95
+
+ checksums md5 b238639962128ce25db81870f65173d9 \
+ sha1 80314a6f6114a0a3f0062161bb38effc0f1f4b62 \
+ rmd160 6dc5d915e3fda4e2eff7c604ee3fad7ca0e1052d
+}
+
+subport aqbanking5-devel {
+ conflicts-append aqbanking5 aqbanking5-gtk
+ version 5.0.31beta
+ # this is specific to this port and *version* for downloading it
+ set release 101
+
+ checksums md5 3be640eb491acbcf7e06817ec0014549 \
+ sha1 821051b4c78940c87f839e82f1fc802bad3fef83 \
+ rmd160 52414e92956b9309178837a30540470851f393ad
+
+ depends_lib-delete port:gwenhywfar4
+ depends_lib-append port:gwenhywfar4-devel
+
+ # This is a temporary patch w.r.t. incomplete INCOME class:
+ patchfiles patch-src_plugins_imexporters_ofx_parser_g_invtranlist.c.diff
+}
+
+master_sites http://www2.aquamaniac.de/sites/download/download.php?package=03&release=${release}&file=01&dummy=
+distname aqbanking-${version}
+# This is only to be used in case the dist was directly created from git
+#distname aqbanking-${version}.0-git
+
subport aqbanking5-gtk {
- conflicts-append aqbanking5
+ conflicts-append aqbanking5 aqbanking5-devel
depends_lib-delete port:gwenhywfar4 port:qt4-mac
depends_lib-append port:gwenhywfar4-gtk
}
@@ -62,7 +85,7 @@
configure.args-append \
--enable-static \
--disable-dependency-tracking \
- --with-backends="aqhbci aqofxconnect aqnone aqpaypal"
+ --with-backends="aqhbci aqofxconnect aqnone aqpaypal"
variant enable_local_install description "Enable local installation mode (plugins, data, locale and config are located relatively to the binary)" {
configure.args-append --enable-local-install
@@ -76,5 +99,8 @@
livecheck.type regex
livecheck.url http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1
-livecheck.regex aqbanking-(\[0-9.\]*)\\.tar
-
+if {$subport != "aqbanking5-devel"} {
+ livecheck.regex aqbanking-(\[0-9.\]*)\\.tar
+} else {
+ livecheck.regex aqbanking-(\[0-9.\]*beta)\\.tar
+}
Added: trunk/dports/devel/aqbanking5/files/patch-src_plugins_imexporters_ofx_parser_g_invtranlist.c.diff
===================================================================
--- trunk/dports/devel/aqbanking5/files/patch-src_plugins_imexporters_ofx_parser_g_invtranlist.c.diff (rev 0)
+++ trunk/dports/devel/aqbanking5/files/patch-src_plugins_imexporters_ofx_parser_g_invtranlist.c.diff 2013-09-12 22:08:39 UTC (rev 110983)
@@ -0,0 +1,24 @@
+--- src/plugins/imexporters/ofx/parser/g_invtranlist.c.old 2013-09-12 22:44:46.000000000 +0200
++++ src/plugins/imexporters/ofx/parser/g_invtranlist.c 2013-09-12 22:45:21.000000000 +0200
+@@ -124,8 +124,10 @@
+ else if (strcasecmp(tagName, "BUYSTOCK")==0 ||
+ strcasecmp(tagName, "SELLSTOCK")==0)
+ gNew=AIO_OfxGroup_BUYSTOCK_new(tagName, g, ctx);
++/*
+ else if (strcasecmp(tagName, "INCOME")==0)
+ gNew=AIO_OfxGroup_INCOME_new(tagName, g, ctx);
++*/
+ else if (strcasecmp(tagName, "INVBANKTRAN")==0)
+ gNew=AIO_OfxGroup_STMTRN_new(tagName, g, ctx);
+ else if (strcasecmp(tagName, "BUYMF")==0 ||
+@@ -216,8 +218,10 @@
+ if (strcasecmp(s, "BUYSTOCK")==0 ||
+ strcasecmp(s, "SELLSTOCK")==0)
+ t=AIO_OfxGroup_BUYSTOCK_TakeTransaction(sg);
++/*
+ else if (strcasecmp(s, "INCOME")==0)
+ t=AIO_OfxGroup_INCOME_TakeTransaction(sg);
++*/
+ else if (strcasecmp(s, "INVBANKTRAN")==0)
+ t=AIO_OfxGroup_STMTRN_TakeTransaction(sg);
+ else if (strcasecmp(s, "BUYMF")==0 ||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130912/8d3f38e0/attachment.html>
More information about the macports-changes
mailing list