[49811] trunk/dports/python/py25-pygtksourceview/Portfile

devans at macports.org devans at macports.org
Sat Apr 18 04:02:43 PDT 2009


Revision: 49811
          http://trac.macports.org/changeset/49811
Author:   devans at macports.org
Date:     2009-04-18 04:02:43 -0700 (Sat, 18 Apr 2009)
Log Message:
-----------
py25-pygtksourceview: fix livecheck, master_sites, add mode line.

Modified Paths:
--------------
    trunk/dports/python/py25-pygtksourceview/Portfile

Modified: trunk/dports/python/py25-pygtksourceview/Portfile
===================================================================
--- trunk/dports/python/py25-pygtksourceview/Portfile	2009-04-18 10:55:36 UTC (rev 49810)
+++ trunk/dports/python/py25-pygtksourceview/Portfile	2009-04-18 11:02:43 UTC (rev 49811)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -4,6 +5,7 @@
 
 name            py25-pygtksourceview
 version         2.2.0
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      python x11
 platforms       darwin
 maintainers     nomaintainer
@@ -11,7 +13,7 @@
 long_description ${description}
 
 homepage        http://www.gnome.org/
-master_sites    gnome:sources/pygtksourceview/2.2/
+master_sites    gnome:sources/pygtksourceview/${branch}/
 distname        pygtksourceview-${version}
 
 checksums       md5 a893f57c7a85fed228f9b7faad069d8c
@@ -28,3 +30,7 @@
         reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.in
     }
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090418/73344090/attachment.html>


More information about the macports-changes mailing list