[52933] trunk/dports/gnome/libxklavier-2-2/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 16:01:25 PDT 2009


Revision: 52933
          http://trac.macports.org/changeset/52933
Author:   devans at macports.org
Date:     2009-06-25 16:01:25 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
libxklavier-2-2: fix livecheck, lint.

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

Modified: trunk/dports/gnome/libxklavier-2-2/Portfile
===================================================================
--- trunk/dports/gnome/libxklavier-2-2/Portfile	2009-06-25 22:54:39 UTC (rev 52932)
+++ trunk/dports/gnome/libxklavier-2-2/Portfile	2009-06-25 23:01:25 UTC (rev 52933)
@@ -1,16 +1,20 @@
 # $Id$
+
 PortSystem 1.0
+
 name			libxklavier-2-2
+set gname               libxklavier
 version		2.2
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description		libxklavier - utility library to make XKB stuff easier
 long_description        ${description}
 maintainers		nomaintainer
 categories		gnome
-platforms		darwin 
+platforms		darwin
 homepage		http://www.freedesktop.org/Software/LibXklavier
 master_sites    	sourceforge:gswitchit \
-			gnome:sources/${name}/2.2/
-distname		libxklavier-${version}
+			gnome:sources/${gname}/${branch}/
+distname		${gname}-${version}
 checksums		md5 a9c2e53ea96ed138b588df5a9b9addaf \
 			sha1 f4f125ac71b734369b1e1cc843a357005c57355d \
 			rmd160 875a14ee466133f033266924de4d95749d1a434f
@@ -21,3 +25,7 @@
 	port:libxml2 lib:libiconv:libiconv port:zlib
 
 patchfiles		patch-Makefile.in patch-xklavier_config_xkb
+
+livecheck.check         regex
+livecheck.url           http://ftp.gnome.org/pub/gnome/sources/${gname}/${branch}/
+livecheck.regex         {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090625/0e052cd4/attachment.html>


More information about the macports-changes mailing list