[52927] trunk/dports/gnome/goffice03/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 15:30:02 PDT 2009


Revision: 52927
          http://trac.macports.org/changeset/52927
Author:   devans at macports.org
Date:     2009-06-25 15:30:01 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
goffice03: fix livecheck, lint.

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

Modified: trunk/dports/gnome/goffice03/Portfile
===================================================================
--- trunk/dports/gnome/goffice03/Portfile	2009-06-25 22:24:10 UTC (rev 52926)
+++ trunk/dports/gnome/goffice03/Portfile	2009-06-25 22:30:01 UTC (rev 52927)
@@ -1,8 +1,11 @@
 # $Id$
 
 PortSystem 1.0
+
 name		goffice03
+set gname       goffice
 version		0.3.8
+set branch      [join [lrange [split ${version} .] 0 1] .]
 revision	1
 description	GOffice is a library of document-centric objects and utilities.
 long_description        GOffice is a library of document-centric objects \
@@ -10,10 +13,10 @@
 			used by software such as Gnumeric.
 maintainers	nomaintainer
 categories	gnome devel
-platforms	darwin 
+platforms	darwin
 homepage	http://freshmeat.net/projects/goffice/
-master_sites    gnome:sources/goffice/0.3/
-distname	goffice-${version}
+master_sites    gnome:sources/${gname}/${branch}/
+distname	${gname}-${version}
 use_bzip2	yes
 checksums	md5 b0c81ab15f3c537cf6ef5726589fd788
 
@@ -29,3 +32,7 @@
 configure.env   GMSGFMT=${prefix}/bin/msgfmt
 
 configure.args	--mandir=${prefix}/share/man
+
+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/e51089e1/attachment-0001.html>


More information about the macports-changes mailing list