[30858] trunk/dports/x11/gtk2/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Nov 8 11:27:42 PST 2007
Revision: 30858
http://trac.macosforge.org/projects/macports/changeset/30858
Author: nox at macports.org
Date: 2007-11-08 11:27:41 -0800 (Thu, 08 Nov 2007)
Log Message:
-----------
gtk2: Fixed livecheck.
Modified Paths:
--------------
trunk/dports/x11/gtk2/Portfile
Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile 2007-11-08 18:56:15 UTC (rev 30857)
+++ trunk/dports/x11/gtk2/Portfile 2007-11-08 19:27:41 UTC (rev 30858)
@@ -3,6 +3,7 @@
PortSystem 1.0
name gtk2
version 2.12.1
+set branch [join [lrange [split ${version} .] 0 1] .]
categories x11
maintainers rhwood openmaintainer
description Gimp ToolKit version 2
@@ -14,9 +15,9 @@
ToolKit, is a library for creating GUIs for the X Windows \
System.
-master_sites gnome:sources/gtk+/[strsed ${version} {/\.[0-9]*$//}] \
- ftp://ftp.gtk.org/pub/gtk/v[strsed ${version} {/\.[0-9]*$//}] \
- http://ftp.gtk.org/pub/gtk/v[strsed ${version} {/\.[0-9]*$//}]
+master_sites gnome:sources/gtk+/${branch}/ \
+ ftp://ftp.gtk.org/pub/gtk/v${branch}/ \
+ http://ftp.gtk.org/pub/gtk/v${branch}/
distname gtk+-${version}
@@ -88,6 +89,6 @@
post-activate { system "gdk-pixbuf-query-loaders ${prefix}/lib/gtk-2.0/2.10.0/loaders/*.so > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders" }
livecheck.check regex
-livecheck.url ${homepage}
-livecheck.regex {GTK\+ (\d+(?:\.\d+)*)}
+livecheck.url ftp://ftp.gtk.org/pub/gtk/${branch}/
+livecheck.regex {LATEST-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071108/50366088/attachment.html
More information about the macports-changes
mailing list