Revision
94914
Author
jwa@macports.org
Date
2012-07-02 04:19:42 -0700 (Mon, 02 Jul 2012)

Log Message

version bump to 10.05.7, change download site, fix livecheck, add license

Modified Paths

Diff

Modified: trunk/dports/php/php5-midgard2/Portfile (94913 => 94914)


--- trunk/dports/php/php5-midgard2/Portfile	2012-07-02 10:56:55 UTC (rev 94913)
+++ trunk/dports/php/php5-midgard2/Portfile	2012-07-02 11:19:42 UTC (rev 94914)
@@ -4,7 +4,8 @@
 PortSystem 1.0
 
 name		php5-midgard2
-version		10.05.6
+version		10.05.7
+license		GPL-2
 
 categories	php
 maintainers	jwa
@@ -14,14 +15,14 @@
 platforms	darwin
 homepage	http://www.midgard-project.org/
 
-master_sites	http://www.midgard-project.org/midcom-serveattachmentguid-d0199a62678311e1a68a4530d68a4e804e80/
+master_sites	https://github.com/midgardproject/midgard-php5/downloads
 
 #use_bzip2	yes
-checksums           rmd160  515d752d010b64b69fc3196f8868585279caa4ad \
-                    sha256  a46b69235a805f84b0eeb718399a302daa2007ec12693796892918cc1ca7b1cb
+checksums           rmd160  575b6c916370ea695bcb28972e9c86d3f52ce9e3 \
+                    sha256  7c51606cd21cc3398755a8ea75e55a1bd1910e2de1736a0731a34405935fac0b
 
 depends_lib	port:midgard2-core \
-    path:bin/php:php5
+    path:bin/php:php54
 
 pre-configure	{
     system "cd ${worksrcpath} && phpize"
@@ -42,5 +43,5 @@
 }
 
 livecheck.type	regex
-livecheck.url	${homepage}download
-livecheck.regex {download/[0-9-]+/">([0-9.]+)}
+livecheck.url	${master_sites}
+livecheck.regex ${name}-(\[0-9.\]+)\\.tar\\.\[bg\]z