[40865] trunk/dports/gnome/gnome-vfs-monikers/Portfile

devans at macports.org devans at macports.org
Thu Oct 16 13:59:25 PDT 2008


Revision: 40865
          http://trac.macports.org/changeset/40865
Author:   devans at macports.org
Date:     2008-10-16 13:59:25 -0700 (Thu, 16 Oct 2008)
Log Message:
-----------
Add livecheck, modeline, lint check.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-vfs-monikers/Portfile

Modified: trunk/dports/gnome/gnome-vfs-monikers/Portfile
===================================================================
--- trunk/dports/gnome/gnome-vfs-monikers/Portfile	2008-10-16 20:49:03 UTC (rev 40864)
+++ trunk/dports/gnome/gnome-vfs-monikers/Portfile	2008-10-16 20:59:25 UTC (rev 40865)
@@ -1,15 +1,20 @@
+# -*- 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		gnome-vfs-monikers
 version		2.15.3
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	Bonobo components for gnome-vfs.
-long_description	Programs using bonobo can use the gnome-vfs-monikers \
+long_description \
+                Programs using bonobo can use the gnome-vfs-monikers \
 		to access gnome-vfs.
 maintainers	nomaintainer
 categories	gnome
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/${name}/2.15/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 b16f0db0482263be3318e269f52bb5b6 \
 		sha1 34b1a8f4eb35af1608e35687595daef771112420 \
 		rmd160 798a337bf8f680725c009251fc0c68cb28fa5124
@@ -22,3 +27,7 @@
 
 configure.cppflags-append "-L${prefix}/lib"
 configure.ldflags-append "-lresolv"
+
+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/20081016/78e13773/attachment.html 


More information about the macports-changes mailing list