[29650] trunk/dports/gnome/gconf/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 4 06:51:17 PDT 2007


Revision: 29650
          http://trac.macosforge.org/projects/macports/changeset/29650
Author:   nox at macports.org
Date:     2007-10-04 06:51:17 -0700 (Thu, 04 Oct 2007)

Log Message:
-----------
gconf: Fixed livecheck.

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

Modified: trunk/dports/gnome/gconf/Portfile
===================================================================
--- trunk/dports/gnome/gconf/Portfile	2007-10-04 13:48:37 UTC (rev 29649)
+++ trunk/dports/gnome/gconf/Portfile	2007-10-04 13:51:17 UTC (rev 29650)
@@ -1,7 +1,9 @@
 # $Id$
 PortSystem 1.0
 name		gconf
+set my_name GConf
 version		2.20.0
+set branch  [join [lrange [split ${version} .] 0 1] .]
 revision    1
 description	GConf is a configuration database system.	
 long_description        GConf is a configuration database system, \
@@ -12,8 +14,8 @@
 categories	gnome
 platforms	darwin 
 homepage	http://www.gnome.org/projects/gconf/
-distname        GConf-${version}
-master_sites	gnome:sources/GConf/[strsed ${version} {/\.[0-9]*$//}]
+distname        ${my_name}-${version}
+master_sites    gnome:sources/${my_name}/${branch}/
 checksums	md5 a6d82dee79df11b6e38b19cb42197d32 \
 		sha1 4f0b8e308470ffd95742e0221c1867d62d7bcef6 \
 		rmd160 54948f0df79fa1bd68cebb5aae97cace0c21d642
@@ -40,3 +42,7 @@
 
 platform darwin 7 { configure.cflags-append "-DBIND_8_COMPAT=1" }
 
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071004/fb78948f/attachment.html


More information about the macports-changes mailing list