[52934] trunk/dports/devel/linc/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 16:08:19 PDT 2009


Revision: 52934
          http://trac.macports.org/changeset/52934
Author:   devans at macports.org
Date:     2009-06-25 16:08:19 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
linc: fix livecheck, lint.

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

Modified: trunk/dports/devel/linc/Portfile
===================================================================
--- trunk/dports/devel/linc/Portfile	2009-06-25 23:01:25 UTC (rev 52933)
+++ trunk/dports/devel/linc/Portfile	2009-06-25 23:08:19 UTC (rev 52934)
@@ -1,20 +1,22 @@
 # $Id$
 
 PortSystem 1.0
+
 name		linc
 version		1.0.3
+set branch      [join [lrange [split ${version} .] 0 1] .]
 revision	2
 description	linc is a library for writing networked servers/clients.
 long_description  	linc is a library that eases the task of writing \
 			networked servers & clients. It takes care of \
 			connection initiation and maintainance, and the \
 			details of various transports. It is used by \
-			the new ORBit to handle message transmission/receipt. 
+			the new ORBit to handle message transmission/receipt.
 maintainers	nomaintainer
 categories	devel gnome
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome.org/projects/ORBit2
-master_sites    gnome:sources/linc/1.0/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 29f01b7e3e6045395e369d988573d517
 depends_lib	path:lib/pkgconfig/glib-2.0.pc:glib2
 depends_build	port:pkgconfig
@@ -24,4 +26,6 @@
 configure.cflags-append	-no-cpp-precomp
 patchfiles	patch-linc-protocols.c.diff
 
-livecheck.name	orbit-linc
+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/20090625/49d80ae5/attachment-0001.html>


More information about the macports-changes mailing list