[42011] trunk/dports/gnome/libzvt/Portfile

devans at macports.org devans at macports.org
Thu Nov 13 07:43:04 PST 2008


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

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

Modified: trunk/dports/gnome/libzvt/Portfile
===================================================================
--- trunk/dports/gnome/libzvt/Portfile	2008-11-13 15:40:42 UTC (rev 42010)
+++ trunk/dports/gnome/libzvt/Portfile	2008-11-13 15:43:03 UTC (rev 42011)
@@ -1,18 +1,26 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
+
 PortSystem 1.0
+
 name		libzvt
 version		2.0.1
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	A library backend of zterm.
 long_description       Libzvt is the library backend of zterm, yet \
 			another virtual terminal program.  It is needed \
 			for the application side of the GNOME 2.0 desktop.
 maintainers	nomaintainer
 categories	gnome
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/libzvt/2.0/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 4bbea49495a341650fa1f89908e6554e
 depends_lib     lib:gnome-session:gnome-session
 use_bzip2 	yes
 configure.args	--mandir=${prefix}/share/man --infodir=${prefix}/share/info
 configure.cppflags-append "-L${prefix}/lib"
+
+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/636dfa1e/attachment.html>


More information about the macports-changes mailing list