[43411] trunk/dports/gnome/gnome-control-center/Portfile

jmr at macports.org jmr at macports.org
Wed Dec 10 11:51:38 PST 2008


Revision: 43411
          http://trac.macports.org/changeset/43411
Author:   jmr at macports.org
Date:     2008-12-10 11:51:37 -0800 (Wed, 10 Dec 2008)
Log Message:
-----------
gnome-control-center: fix livecheck

Modified Paths:
--------------
    trunk/dports/gnome/gnome-control-center/Portfile

Modified: trunk/dports/gnome/gnome-control-center/Portfile
===================================================================
--- trunk/dports/gnome/gnome-control-center/Portfile	2008-12-10 19:48:41 UTC (rev 43410)
+++ trunk/dports/gnome/gnome-control-center/Portfile	2008-12-10 19:51:37 UTC (rev 43411)
@@ -5,6 +5,7 @@
 
 name		gnome-control-center
 version		2.24.0.1
+set branch  [join [lrange [split ${version} .] 0 1] .]
 description	Control center for GNOME 2.0 project.
 long_description        ${description}
 maintainers	nomaintainer
@@ -12,7 +13,7 @@
 platforms	darwin
 homepage	http://www.gnome.org/
 
-master_sites    gnome:sources/${name}/[join [lrange [split ${version} .] 0 1] .]/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 dcaf6e91fddbb1d57d045a4de34ec25c \
 		sha1 daf737c762d53ef984a55fc5008e6a4e85b88294 \
 		rmd160 5f211b12f7260a8af8c602066133d72cb61cc3f6
@@ -80,3 +81,7 @@
 			ln -s libgnome-window-settings.1.0.0.dylib libgnome-window-settings.1.0.0.so"
 	}
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081210/2df8c23a/attachment.html>


More information about the macports-changes mailing list