[29666] trunk/dports/devel/orbit2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 4 07:35:16 PDT 2007


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

Log Message:
-----------
orbit2: Added livecheck.

Modified Paths:
--------------
    trunk/dports/devel/orbit2/Portfile

Modified: trunk/dports/devel/orbit2/Portfile
===================================================================
--- trunk/dports/devel/orbit2/Portfile	2007-10-04 14:31:16 UTC (rev 29665)
+++ trunk/dports/devel/orbit2/Portfile	2007-10-04 14:35:16 UTC (rev 29666)
@@ -2,7 +2,9 @@
 
 PortSystem 1.0
 name		orbit2
+set my_name ORBit2
 version		2.14.9
+set branch  [join [lrange [split ${version} .] 0 1] .]
 revision    1
 description	Code for an ORB written in C will spontaneously evolve here.
 long_description        Code for an ORB written in C will spontaneously \
@@ -11,11 +13,11 @@
 categories	devel gnome
 platforms	darwin 
 homepage	http://www.gnome.org/projects/ORBit2/
-master_sites    gnome:sources/ORBit2/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites    gnome:sources/${my_name}/${branch}/
 checksums	md5 c7e7080ef27aca22f26ac21fcb5613a5 \
 		sha1 92a95fcdb43bc22f9f2ad85e1ba24cde2c8b855a \
 		rmd160 e165d38a0f83e94efa4d9d7b39a5ae42f6431eb5
-distname  	ORBit2-${version}
+distname  	${my_name}-${version}
 
 depends_lib \
     port:glib2 \
@@ -33,3 +35,8 @@
 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/2b8cee93/attachment.html


More information about the macports-changes mailing list