[52932] trunk/dports/gnome/libgtksourceviewmm/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 15:54:40 PDT 2009


Revision: 52932
          http://trac.macports.org/changeset/52932
Author:   devans at macports.org
Date:     2009-06-25 15:54:39 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
fix livecheck, lint.

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

Modified: trunk/dports/gnome/libgtksourceviewmm/Portfile
===================================================================
--- trunk/dports/gnome/libgtksourceviewmm/Portfile	2009-06-25 22:51:46 UTC (rev 52931)
+++ trunk/dports/gnome/libgtksourceviewmm/Portfile	2009-06-25 22:54:39 UTC (rev 52932)
@@ -1,17 +1,20 @@
 # $Id$
+
 PortSystem 1.0
+
 name		libgtksourceviewmm
 version		0.3.0
+set branch      [join [lrange [split ${version} .] 0 1] .]
 
 description	gtksourceviewmm provides C++ wrappers for gtksourceview.
 long_description        ${description}
 maintainers	landonf openmaintainer
 
 categories	gnome
-platforms	darwin 
+platforms	darwin
 
 homepage	http://www.gtkmm.org/
-master_sites    gnome:sources/libgtksourceviewmm/0.3
+master_sites    gnome:sources/${name}/${branch}/
 
 use_bzip2	yes
 checksums	md5 9f5a6bd4f523a7dc0f6256122e48848d
@@ -21,3 +24,7 @@
 depends_build	port:doxygen
 
 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/20090625/27059930/attachment.html>


More information about the macports-changes mailing list