[52908] trunk/dports/gnome/goffice/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 12:30:53 PDT 2009


Revision: 52908
          http://trac.macports.org/changeset/52908
Author:   devans at macports.org
Date:     2009-06-25 12:30:52 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
goffice: use odd/even regex in livecheck to check stable versions only.

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

Modified: trunk/dports/gnome/goffice/Portfile
===================================================================
--- trunk/dports/gnome/goffice/Portfile	2009-06-25 18:54:15 UTC (rev 52907)
+++ trunk/dports/gnome/goffice/Portfile	2009-06-25 19:30:52 UTC (rev 52908)
@@ -5,6 +5,7 @@
 
 name                    goffice
 version                 0.6.6
+set branch              [join [lrange [split ${version} .] 0 1] .]
 description             GOffice is a library of document-centric objects and utilities.
 long_description        GOffice is a library of document-centric objects \
                         and utilities building on top of GLib and Gtk+ and \
@@ -13,7 +14,7 @@
 categories              gnome devel
 platforms               darwin
 homepage                http://freshmeat.net/projects/goffice/
-master_sites            gnome:sources/goffice/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites            gnome:sources/${name}/${version}/
 use_bzip2               yes
 checksums               md5     92e51878b9cd9c2fa954953d708f2c47 \
                         sha1    ac3b768198ee13264ddd26bc7b039d9788c14ad7 \
@@ -32,3 +33,7 @@
 configure.args          --without-gnome
 
 use_parallel_build      yes
+
+livecheck.check         regex
+livecheck.url           http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex         "LATEST-IS-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090625/4ab5c46f/attachment-0001.html>


More information about the macports-changes mailing list