[41278] trunk/dports/graphics/cairomm/Portfile

devans at macports.org devans at macports.org
Wed Oct 29 11:59:33 PDT 2008


Revision: 41278
          http://trac.macports.org/changeset/41278
Author:   devans at macports.org
Date:     2008-10-29 11:59:33 -0700 (Wed, 29 Oct 2008)
Log Message:
-----------
Restrict livecheck regex to current stable branch candidates.

Modified Paths:
--------------
    trunk/dports/graphics/cairomm/Portfile

Modified: trunk/dports/graphics/cairomm/Portfile
===================================================================
--- trunk/dports/graphics/cairomm/Portfile	2008-10-29 18:40:59 UTC (rev 41277)
+++ trunk/dports/graphics/cairomm/Portfile	2008-10-29 18:59:33 UTC (rev 41278)
@@ -4,6 +4,7 @@
 
 name		cairomm
 version		1.6.4
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories	graphics
 maintainers	nomaintainer
 description	Cairo is a vector graphics library with cross-device output support.
@@ -23,4 +24,4 @@
 
 livecheck.check regex
 livecheck.url   http://cairographics.org/releases/
-livecheck.regex {LATEST-cairomm-([0-9\.]+)}
+livecheck.regex "${name}-(${branch}(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081029/17c3fc4f/attachment.html>


More information about the macports-changes mailing list