[41353] trunk/dports/gnome/gnome-session/Portfile

jmr at macports.org jmr at macports.org
Fri Oct 31 02:50:22 PDT 2008


Revision: 41353
          http://trac.macports.org/changeset/41353
Author:   jmr at macports.org
Date:     2008-10-31 02:50:22 -0700 (Fri, 31 Oct 2008)
Log Message:
-----------
gnome-session: fix livecheck

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

Modified: trunk/dports/gnome/gnome-session/Portfile
===================================================================
--- trunk/dports/gnome/gnome-session/Portfile	2008-10-31 08:55:07 UTC (rev 41352)
+++ trunk/dports/gnome/gnome-session/Portfile	2008-10-31 09:50:22 UTC (rev 41353)
@@ -4,6 +4,7 @@
 
 name		gnome-session
 version		2.22.3
+set branch  [join [lrange [split ${version} .] 0 1] .]
 description	Session component for the GNOME 2 desktop
 long_description        Session component for the GNOME 2.0 desktop. \
 			This package contains the commands needed to \
@@ -12,7 +13,7 @@
 categories	gnome
 platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/gnome-session/[join [lrange [split ${version} .] 0 1] .]/
+master_sites    gnome:sources/${name}/${branch}/
 
 checksums	md5 859b61b5368aa000c9bcb8b0d0688ca2 \
 		sha1 817e007009e6e43cd2f1980e6d90546e7117cc9d \
@@ -30,3 +31,7 @@
 post-activate	{
 		system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-([0-9\.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081031/e30182e1/attachment-0001.html>


More information about the macports-changes mailing list