[42258] trunk/dports/x11/gtkspell2/Portfile

devans at macports.org devans at macports.org
Mon Nov 17 11:20:51 PST 2008


Revision: 42258
          http://trac.macports.org/changeset/42258
Author:   devans at macports.org
Date:     2008-11-17 11:20:50 -0800 (Mon, 17 Nov 2008)
Log Message:
-----------
gtkspell2: lint, fix livecheck, add mode line.

Modified Paths:
--------------
    trunk/dports/x11/gtkspell2/Portfile

Modified: trunk/dports/x11/gtkspell2/Portfile
===================================================================
--- trunk/dports/x11/gtkspell2/Portfile	2008-11-17 18:01:45 UTC (rev 42257)
+++ trunk/dports/x11/gtkspell2/Portfile	2008-11-17 19:20:50 UTC (rev 42258)
@@ -1,9 +1,12 @@
+# -*- 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		gtkspell2
 version		2.0.11
 categories	x11 gnome textproc
+platforms       darwin
 maintainers	nomaintainer
 description	Library for highlighting and replacement of misspelled words.
 long_description	GtkSpell provides word-processor-style highlighting \
@@ -11,7 +14,7 @@
 			widget. Right-clicking a misspelled word pops up a \
 			menu of suggested replacements.
 homepage	http://gtkspell.sourceforge.net
-master_sites	$homepage/download 
+master_sites	${homepage}/download
 distname	gtkspell-${version}
 checksums	md5 494869f67146a12a3f17a958f51aeb05
 depends_lib	port:aspell \
@@ -20,6 +23,10 @@
 configure.cppflags-append	"-L${prefix}/lib"
 configure.cflags	"-no-cpp-precomp -flat_namespace -undefined suppress"
 
+livecheck.check regex
+livecheck.url   ${homepage}
+livecheck.regex "The latest version is <b>(\\d+(?:\\.\\d+)*)</b>"
+
 #NOTES		Port is named gtkspell2 due to ongoing development of gtkspell3
 #			Although there are no ports that require this port, there are a
 #			number of ports that will build with it if it is present.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081117/6d142d85/attachment.html>


More information about the macports-changes mailing list