[41972] trunk/dports/gnome/libxklavier/Portfile

devans at macports.org devans at macports.org
Wed Nov 12 12:59:01 PST 2008


Revision: 41972
          http://trac.macports.org/changeset/41972
Author:   devans at macports.org
Date:     2008-11-12 12:59:01 -0800 (Wed, 12 Nov 2008)
Log Message:
-----------
libxklavier: fix livecheck.

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

Modified: trunk/dports/gnome/libxklavier/Portfile
===================================================================
--- trunk/dports/gnome/libxklavier/Portfile	2008-11-12 20:51:28 UTC (rev 41971)
+++ trunk/dports/gnome/libxklavier/Portfile	2008-11-12 20:59:01 UTC (rev 41972)
@@ -5,6 +5,7 @@
 
 name            libxklavier
 version         3.6
+set branch      [join [lrange [split ${version} .] 0 1] .]
 revision        1
 description     libxklavier - utility library to make XKB stuff easier
 long_description    ${description}
@@ -12,7 +13,7 @@
 categories      gnome
 platforms       darwin
 homepage        http://www.freedesktop.org/Software/LibXklavier
-master_sites    gnome:sources/${name}/${version}/
+master_sites    gnome:sources/${name}/${branch}/
 
 checksums       md5 eff30f70e4c082e2aa6a0fbecc15253b \
                 sha1 a9c42970b807f2cbd69fa3ae853606c9b505fc0c \
@@ -27,3 +28,7 @@
     path:lib/pkgconfig/glib-2.0.pc:glib2
 
 configure.args --disable-xkb-support
+
+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/20081112/1beef300/attachment-0001.html>


More information about the macports-changes mailing list