[29661] trunk/dports/gnome/libglade2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 4 07:19:31 PDT 2007


Revision: 29661
          http://trac.macosforge.org/projects/macports/changeset/29661
Author:   nox at macports.org
Date:     2007-10-04 07:19:31 -0700 (Thu, 04 Oct 2007)

Log Message:
-----------
libglade2: Added livecheck.

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

Modified: trunk/dports/gnome/libglade2/Portfile
===================================================================
--- trunk/dports/gnome/libglade2/Portfile	2007-10-04 14:16:25 UTC (rev 29660)
+++ trunk/dports/gnome/libglade2/Portfile	2007-10-04 14:19:31 UTC (rev 29661)
@@ -1,7 +1,9 @@
 # $Id$
 PortSystem 1.0
 name		libglade2
+set my_name libglade
 version     2.6.2
+set branch  [join [lrange [split ${version} .] 0 1] .]
 description	GNOME glade library.
 long_description        A library that allows you to load GLADE interfaces \
 			at runtime (you don't have to generate stubs with \
@@ -11,12 +13,12 @@
 			interface separately from the code to build the \
 			interface, so changing the interface is not so \
 			much of a problem. 
-maintainers	rhwood openmaintainer at macports.org
+maintainers	rhwood openmaintainer
 categories	gnome
 platforms	darwin 
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/libglade/[join [lrange [split ${version} .] 0 1] .]/
-distname	libglade-${version}
+master_sites    gnome:sources/${my_name}/${branch}/
+distname	${my_name}-${version}
 
 checksums   md5 da4f9d1c6cd1337f6ef5e2db768d8557 \
             sha1 99ffcf33bcd0fdd67191c99b117a0cefc26b84bc \
@@ -36,3 +38,7 @@
 test.run    yes
 test.target check
 
+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/d4037487/attachment.html


More information about the macports-changes mailing list