[41486] trunk/dports/x11/gtk-engines2/Portfile

nox at macports.org nox at macports.org
Tue Nov 4 01:41:42 PST 2008


Revision: 41486
          http://trac.macports.org/changeset/41486
Author:   nox at macports.org
Date:     2008-11-04 01:41:42 -0800 (Tue, 04 Nov 2008)
Log Message:
-----------
gtk-engines2: Whitespace changes, added livecheck.

Modified Paths:
--------------
    trunk/dports/x11/gtk-engines2/Portfile

Modified: trunk/dports/x11/gtk-engines2/Portfile
===================================================================
--- trunk/dports/x11/gtk-engines2/Portfile	2008-11-04 09:28:15 UTC (rev 41485)
+++ trunk/dports/x11/gtk-engines2/Portfile	2008-11-04 09:41:42 UTC (rev 41486)
@@ -1,45 +1,52 @@
+# -*- 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
+PortSystem      1.0
 
-name		gtk-engines2
-version		2.16.0
-epoch		1
-categories	x11
-maintainers	nomaintainer
-description	Theme engine for gtk2
-homepage	http://www.gtk.org/
-platforms	darwin
+name            gtk-engines2
+set my_name     gtk-engines
+version         2.16.0
+set branch      [join [lrange [split ${version} .] 0 1] .]
+epoch           1
+categories      x11
+maintainers     nomaintainer
+platforms       darwin
+description     Theme engine for gtk2
 
-long_description gtk-engines2 is a theme engine for GTK+ 2.  It provides \
-		the ability to change the way widgets, buttons, etc. \
-		look when using GTK+ 2 applications.
+long_description \
+    gtk-engines2 is a theme engine for GTK+ 2.  It provides \
+    the ability to change the way widgets, buttons, etc. \
+    look when using GTK+ 2 applications.
 
-master_sites	gnome:sources/gtk-engines/[strsed ${version} {/\.[0-9]*$//}]
+homepage        http://www.gtk.org/
+master_sites    gnome:sources/$my_name/$branch/
+distname        $my_name-$version
+use_bzip2       yes
 
-distname	gtk-engines-${version}
-checksums	md5 a301ca944d8c839298ec45a01a4a30c8 \
-		sha1 7b58197a4b918f9ab9a7b16c650deb22812df583 \
-		rmd160 b9a7b4322cb75ee7ebdf3f33c8e45fb436a901a0
+checksums       md5 a301ca944d8c839298ec45a01a4a30c8 \
+                sha1 7b58197a4b918f9ab9a7b16c650deb22812df583 \
+                rmd160 b9a7b4322cb75ee7ebdf3f33c8e45fb436a901a0
 
-use_bzip2	yes
-
 depends_build \
     port:p5-xml-parser \
     port:intltool
 
-depends_lib	\
-	port:atk \
-	port:cairo \
-	port:fontconfig \
-	port:freetype \
-	port:gettext \
-	path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
-	port:gtk2 \
-	port:jpeg \
-	port:libiconv \
-	port:libpng \
-	path:${prefix}/lib/pkgconfig/pango.pc:pango \
-	port:tiff
+depends_lib \
+    port:atk \
+    port:cairo \
+    port:fontconfig \
+    port:freetype \
+    port:gettext \
+    path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
+    port:gtk2 \
+    port:jpeg \
+    port:libiconv \
+    port:libpng \
+    path:${prefix}/lib/pkgconfig/pango.pc:pango \
+    port:tiff
 
 use_parallel_build  yes
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/$my_name/$branch/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081104/8837c998/attachment.html>


More information about the macports-changes mailing list