[41905] trunk/dports/gnome/gnome-libs/Portfile

devans at macports.org devans at macports.org
Tue Nov 11 20:16:11 PST 2008


Revision: 41905
          http://trac.macports.org/changeset/41905
Author:   devans at macports.org
Date:     2008-11-11 20:16:10 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
gnome-libs: fix livecheck, lint, add mode line.

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

Modified: trunk/dports/gnome/gnome-libs/Portfile
===================================================================
--- trunk/dports/gnome/gnome-libs/Portfile	2008-11-12 04:09:21 UTC (rev 41904)
+++ trunk/dports/gnome/gnome-libs/Portfile	2008-11-12 04:16:10 UTC (rev 41905)
@@ -1,16 +1,20 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
+
 PortSystem 1.0
+
 name		gnome-libs
 version		1.4.2
+set branch      [join [lrange [split ${version} .] 0 1] .]
 revision	2
 description	These are the GNOME libraries.
 long_description        These are the GNOME libraries, the foundation for \
 			most of the application of the GNOME project.
 maintainers	nomaintainer
 categories	gnome
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/gnome-libs/1.4/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2	yes
 checksums	md5 6111e91b143a90afb30f7a8c1e6cbbd6
 depends_lib     lib:liboaf:oaf lib:libgtk.1:gtk1 lib:libghttp:libghttp \
@@ -37,3 +41,7 @@
 	file rename ${destroot}${prefix}/share/pixmaps/gnome-warning.png \
 		${destroot}${prefix}/share/pixmaps/gnome-warning-1.png
 }
+
+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/20081111/5834500c/attachment.html>


More information about the macports-changes mailing list