[52914] trunk/dports/gnome/gnumeric/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 12:45:13 PDT 2009


Revision: 52914
          http://trac.macports.org/changeset/52914
Author:   devans at macports.org
Date:     2009-06-25 12:45:13 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
gnumeric: fix livecheck.

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

Modified: trunk/dports/gnome/gnumeric/Portfile
===================================================================
--- trunk/dports/gnome/gnumeric/Portfile	2009-06-25 19:43:24 UTC (rev 52913)
+++ trunk/dports/gnome/gnumeric/Portfile	2009-06-25 19:45:13 UTC (rev 52914)
@@ -5,6 +5,7 @@
 
 name		gnumeric
 version		1.8.4
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	A spreadsheet with gnome support.
 long_description	${description}
 maintainers	nomaintainer
@@ -12,7 +13,7 @@
 platforms	darwin
 homepage	http://projects.gnome.org/gnumeric/
 
-master_sites    gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2	yes
 checksums       md5     338f0084f04a16f78797ad01f85d3251 \
                 sha1    2d765b0d06509e0695c4d3ec96b94f8acba88735 \
@@ -34,3 +35,8 @@
 post-activate {
 	system "${prefix}/bin/scrollkeeper-update"
 }
+
+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/20090625/30c0f114/attachment.html>


More information about the macports-changes mailing list