[29664] trunk/dports/devel/libidl/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 4 07:27:49 PDT 2007


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

Log Message:
-----------
libidl: Fixed livecheck.

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

Modified: trunk/dports/devel/libidl/Portfile
===================================================================
--- trunk/dports/devel/libidl/Portfile	2007-10-04 14:24:18 UTC (rev 29663)
+++ trunk/dports/devel/libidl/Portfile	2007-10-04 14:27:48 UTC (rev 29664)
@@ -1,7 +1,9 @@
 # $Id$
 PortSystem 1.0
 name		libidl
+set my_name libIDL
 version		0.8.9
+set branch  [join [lrange [split ${version} .] 0 1] .]
 description	libIDL is a library for creating CORBA IDL files. 
 long_description       	libIDL is a library licensed under the GNU LGPL \
 			for creating trees of CORBA Interface Definition \
@@ -15,13 +17,13 @@
 categories	devel gnome
 platforms	darwin 
 homepage	http://andrewtv.org/libIDL/
-master_sites    gnome:sources/libIDL/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites    gnome:sources/${my_name}/${branch}/
 
 checksums       md5 a4f84903e289bb874ae2fbe92d80e656 \
                 sha1 5b8478c8d467c9f96010a2e584d0532c5c9256de \
                 rmd160 30fda29bad23263543e7a2b9b91f7bcd188f8057
 
-distname  	libIDL-${version}
+distname  	${my_name}-${version}
 
 depends_lib	port:glib2 port:libiconv port:gettext
 depends_build   port:pkgconfig
@@ -29,3 +31,8 @@
 use_bzip2 	yes
 
 configure.cflags-append	-no-cpp-precomp
+
+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/be42bbf0/attachment.html


More information about the macports-changes mailing list