[49798] trunk/dports/gnome/gnopernicus/Portfile

devans at macports.org devans at macports.org
Sat Apr 18 02:46:23 PDT 2009


Revision: 49798
          http://trac.macports.org/changeset/49798
Author:   devans at macports.org
Date:     2009-04-18 02:46:23 -0700 (Sat, 18 Apr 2009)
Log Message:
-----------
gnopernicus: fix livecheck, add modeline, lint.

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

Modified: trunk/dports/gnome/gnopernicus/Portfile
===================================================================
--- trunk/dports/gnome/gnopernicus/Portfile	2009-04-18 09:38:10 UTC (rev 49797)
+++ trunk/dports/gnome/gnopernicus/Portfile	2009-04-18 09:46:23 UTC (rev 49798)
@@ -1,18 +1,21 @@
+# -*- 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		gnopernicus
 version		1.1.2
 revision	1
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	Collection of accessibility apps for GNOME 2.
 long_description        Gnopernicus provides Assistive Technologies (AT) \
 			for blind and visually impaired persons through \
 			modules for text-to-speech, braille, etc.
 maintainers	nomaintainer
-categories	gnome 
-platforms	darwin 
+categories	gnome
+platforms	darwin
 homepage	http://www.baum.ro/gnopernicus.html
-master_sites    gnome:sources/gnopernicus/1.1/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2	yes
 patchfiles	patch_sercomm.c
 checksums	md5 64677df8961a68a73003393166f710bd \
@@ -26,7 +29,7 @@
 		port:dbus \
 		port:dbus-glib
 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"
 configure.args	--disable-scrollkeeper
 
 post-destroot	{
@@ -36,3 +39,7 @@
 post-activate	{
 	system "scrollkeeper-update"
 }
+
+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/20090418/a8533796/attachment-0001.html>


More information about the macports-changes mailing list