[52937] trunk/dports/gnome/mlview/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 16:20:00 PDT 2009


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

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

Modified: trunk/dports/gnome/mlview/Portfile
===================================================================
--- trunk/dports/gnome/mlview/Portfile	2009-06-25 23:15:16 UTC (rev 52936)
+++ trunk/dports/gnome/mlview/Portfile	2009-06-25 23:19:59 UTC (rev 52937)
@@ -1,25 +1,32 @@
 # $Id$
+
 PortSystem 1.0
+
 name		mlview
 version		0.7.1
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	XML-editor for GNOME.
 long_description 	The MlView project is an ongoing effort to develop \
-			an xml editor for GNOME environment. 
+			an xml editor for GNOME environment.
 maintainers	nomaintainer
 categories	gnome
-platforms	darwin 
+platforms	darwin
 homepage	http://www.freespiders.org/projects/gmlview/
-master_sites	gnome:sources/mlview/0.7/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 85383331e5bb6d59293cee5b86595284
 depends_lib	lib:libgnomeprintui-2-2:libgnomeprintui
 use_bzip2 	yes
 configure.args	--mandir=${prefix}/share/man \
 		--with-gconf-source="xml::${destroot}${prefix}/etc/gconf/gconf.xml.defaults"
 configure.cppflags-append "-L${prefix}/lib"
-configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress" 
+configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
 pre-destroot    { file mkdir -f ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/ }
 post-destroot {
 	file delete ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml
 	file delete ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/schemas/%gconf.xml
 	file delete ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/apps/%gconf.xml
 }
+
+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/0aeeae05/attachment.html>


More information about the macports-changes mailing list