[41906] trunk/dports/gnome/gdl/Portfile

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


Revision: 41906
          http://trac.macports.org/changeset/41906
Author:   devans at macports.org
Date:     2008-11-11 20:33:18 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
gdl: fix livecheck, add mode line.

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

Modified: trunk/dports/gnome/gdl/Portfile
===================================================================
--- trunk/dports/gnome/gdl/Portfile	2008-11-12 04:16:10 UTC (rev 41905)
+++ trunk/dports/gnome/gdl/Portfile	2008-11-12 04:33:18 UTC (rev 41906)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -4,6 +5,7 @@
 
 name            gdl
 version         0.7.11
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description     GNOME development library.
 long_description This package contains components and libraries \
                 that are intended to be shared between GNOME \
@@ -13,8 +15,12 @@
 categories	gnome devel
 platforms	darwin
 homepage	http://www.anjuta.org/
-master_sites    gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 74f529cc2623376ee793be65439f54d6
 use_bzip2	yes
 depends_lib	port:libgnomeui \
                 port:librsvg
+
+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/a1d47d14/attachment.html>


More information about the macports-changes mailing list