[42012] trunk/dports/gnome/oaf/Portfile

devans at macports.org devans at macports.org
Thu Nov 13 07:49:51 PST 2008


Revision: 42012
          http://trac.macports.org/changeset/42012
Author:   devans at macports.org
Date:     2008-11-13 07:49:51 -0800 (Thu, 13 Nov 2008)
Log Message:
-----------
oaf: lint, fix livecheck, add mode line.

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

Modified: trunk/dports/gnome/oaf/Portfile
===================================================================
--- trunk/dports/gnome/oaf/Portfile	2008-11-13 15:43:03 UTC (rev 42011)
+++ trunk/dports/gnome/oaf/Portfile	2008-11-13 15:49:51 UTC (rev 42012)
@@ -1,7 +1,11 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
+
 PortSystem 1.0
+
 name		oaf
 version		0.6.10
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	Object Activation Framework for GNOME1
 long_description        OAF is the Object Activation Framework, a much more \
 			powerful replacement for gnorba in the GNOME 1.4 \
@@ -10,12 +14,17 @@
 			for advanced object query and activation capabilities.
 maintainers	nomaintainer
 categories	gnome
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/oaf/0.6/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 8cae2c1a692922f91827cad435136e2c
 depends_lib     lib:libORBit:orbit lib:libxml:libxml lib:libpopt:popt
 patchfiles	patch_configure
 configure.args  --mandir=${prefix}/share/man
 configure.cppflags-append "-L${prefix}/lib"
 configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
+
+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/20081113/80f366b3/attachment.html>


More information about the macports-changes mailing list