[48473] trunk/dports/gnome/gthumb/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Mar 22 18:37:39 PDT 2009


Revision: 48473
          http://trac.macports.org/changeset/48473
Author:   ryandesign at macports.org
Date:     2009-03-22 18:37:39 -0700 (Sun, 22 Mar 2009)
Log Message:
-----------
gthumb: fix livecheck

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

Modified: trunk/dports/gnome/gthumb/Portfile
===================================================================
--- trunk/dports/gnome/gthumb/Portfile	2009-03-23 01:32:46 UTC (rev 48472)
+++ trunk/dports/gnome/gthumb/Portfile	2009-03-23 01:37:39 UTC (rev 48473)
@@ -4,13 +4,14 @@
 
 name                    gthumb
 version                 2.10.10
+set branch              [join [lrange [split ${version} .] 0 1] .]
 description             Image viewer and browser for the gnome desktop.
 long_description        ${description}
 maintainers             nomaintainer
 categories              gnome
 platforms               darwin
 homepage                http://gthumb.sourceforge.net/
-master_sites            gnome:sources/gthumb/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites            gnome:sources/gthumb/${branch}
 use_bzip2               yes
 
 checksums \
@@ -60,3 +61,7 @@
     system "scrollkeeper-update"
     system "gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
 }
+
+livecheck.check         regex
+livecheck.url           http://ftp.gnome.org/pub/GNOME/sources/gthumb/${branch}
+livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090322/beb33869/attachment.html>


More information about the macports-changes mailing list