[111279] trunk/dports/devel/aqbanking5
mk at macports.org
mk at macports.org
Tue Sep 17 23:53:57 PDT 2013
Revision: 111279
https://trac.macports.org/changeset/111279
Author: mk at macports.org
Date: 2013-09-17 23:53:57 -0700 (Tue, 17 Sep 2013)
Log Message:
-----------
aqbanking5: new subport aqbanking5-svn (at the moment the same revision as released as aqbanking5-devel)
Modified Paths:
--------------
trunk/dports/devel/aqbanking5/Portfile
Added Paths:
-----------
trunk/dports/devel/aqbanking5/files/patch-Makefile.diff
Modified: trunk/dports/devel/aqbanking5/Portfile
===================================================================
--- trunk/dports/devel/aqbanking5/Portfile 2013-09-18 05:47:15 UTC (rev 111278)
+++ trunk/dports/devel/aqbanking5/Portfile 2013-09-18 06:53:57 UTC (rev 111279)
@@ -5,7 +5,8 @@
name aqbanking5
# This port offers the latest stable version (also as a gtk subport)
-# as well as the latest beta version as aqbanking5-devel!
+# as well as the latest beta version as aqbanking5-devel
+# and the svn version as aqbanking5-svn!
categories devel net finance
maintainers mk dports openmaintainer
@@ -36,7 +37,7 @@
universal_variant no
if {$subport == $name} {
- conflicts-append aqbanking5-devel aqbanking5-gtk
+ conflicts-append aqbanking5-devel aqbanking5-gtk aqbanking5-svn
}
if {$subport == $name || $subport =="aqbanking5-gtk"} {
@@ -51,7 +52,7 @@
}
subport aqbanking5-devel {
- conflicts-append aqbanking5 aqbanking5-gtk
+ conflicts-append aqbanking5 aqbanking5-gtk aqbanking5-svn
version 5.0.32beta
# this is specific to this port and *version* for downloading it
set release 102
@@ -64,7 +65,32 @@
depends_lib-append port:gwenhywfar4-devel
}
-master_sites http://www2.aquamaniac.de/sites/download/download.php?package=03&release=${release}&file=01&dummy=
+subport aqbanking5-svn {
+ conflicts-append aqbanking5 aqbanking5-gtk aqbanking5-devel
+
+ fetch.type svn
+ svn.url http://devel.aqbanking.de/svn/aqbanking/trunk
+ svn.revision 2384
+ version svn-r${svn.revision}
+ worksrcdir trunk
+
+ use_autoreconf yes
+ autoreconf.args -fvi
+ # The following is a workaround, since patching Makefile.am didn't do the job:
+ post-configure {
+ system "cd ${worksrcpath}; patch -p0 <${filespath}/patch-Makefile.diff"
+ }
+
+# Do we actually need to require SVN?
+# depends_fetch port:subversion
+ depends_lib-delete port:gwenhywfar4
+ depends_lib-append port:gwenhywfar4-devel
+}
+
+if {$subport != "aqbanking5-svn"} {
+ 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
@@ -94,10 +120,15 @@
use_parallel_build no
-livecheck.type regex
-livecheck.url http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1
-if {$subport != "aqbanking5-devel"} {
- livecheck.regex aqbanking-(\[0-9.\]*)\\.tar
+if {$subport != "aqbanking5-svn"} {
+ livecheck.type regex
+ livecheck.url http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1
+ if {$subport != "aqbanking5-devel"} {
+ livecheck.regex aqbanking-(\[0-9.\]*)\\.tar
+ } else {
+ livecheck.regex aqbanking-(\[0-9.\]*beta)\\.tar
+ }
} else {
- livecheck.regex aqbanking-(\[0-9.\]*beta)\\.tar
+ livecheck.type none
}
+
Added: trunk/dports/devel/aqbanking5/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/aqbanking5/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/devel/aqbanking5/files/patch-Makefile.diff 2013-09-18 06:53:57 UTC (rev 111279)
@@ -0,0 +1,12 @@
+--- Makefile.old 2013-09-18 08:32:05.000000000 +0200
++++ Makefile 2013-09-18 08:33:14.000000000 +0200
+@@ -1365,7 +1365,8 @@
+ for f in `find . -name \*.c -o -name \*.cpp`; do cppcheck $$f; done
+
+ ChangeLog:
+- git log -n 100 --pretty="format:------------------------------------------------------------------%n%ai %an%n%s%n%b" >ChangeLog
++# git log -n 100 --pretty="format:------------------------------------------------------------------%n%ai %an%n%s%n%b" >ChangeLog
++ echo "Skipped ChangeLog creation on MacPorts." >ChangeLog
+
+ dist-hook:
+ rm -f ChangeLog 2>/dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130917/81a769e1/attachment.html>
More information about the macports-changes
mailing list