[50001] trunk/dports/x11/gtk2-aurora/Portfile

nox at macports.org nox at macports.org
Tue Apr 21 19:23:25 PDT 2009


Revision: 50001
          http://trac.macports.org/changeset/50001
Author:   nox at macports.org
Date:     2009-04-21 19:23:25 -0700 (Tue, 21 Apr 2009)
Log Message:
-----------
gtk2-aurora: Update to 1.5.1.

Modified Paths:
--------------
    trunk/dports/x11/gtk2-aurora/Portfile

Modified: trunk/dports/x11/gtk2-aurora/Portfile
===================================================================
--- trunk/dports/x11/gtk2-aurora/Portfile	2009-04-22 02:20:04 UTC (rev 50000)
+++ trunk/dports/x11/gtk2-aurora/Portfile	2009-04-22 02:23:25 UTC (rev 50001)
@@ -4,26 +4,38 @@
 PortSystem      1.0
 
 name            gtk2-aurora
-version         1.4
+set my_name     aurora
+version         1.5.1
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      x11 gtk
 platforms       macosx
-maintainers     nox
+maintainers     nox openmaintainer
 description     Aurora Gtk Engine
 
 long_description \
     The goal of this theme is to provide a complete and consistent look for Gtk. \
     The theme aims to be very flexible in colour choice, but have few other options otherwise.
 
-homepage        http://www.gnome-look.org/content/show.php/Aurora+Gtk+Engine?content=56438
+set id          56438
+homepage        http://www.gnome-look.org/content/show.php/Aurora+Gtk+Engine?content=${id}
+master_sites    http://www.gnome-look.org/CONTENT/content-files/
+distname        ${id}-${my_name}-${version}
 use_bzip2       yes
 
-checksums       md5 d3f486a09aa4dd2425b4c21b5ce50e01 \
-                sha1 05f0ffe5911c5841c45998e4701aba1539cd3eb7 \
-                rmd160 5be52fc2480f9dd1718fc524fa3436b2a2352ca3
+checksums       md5     5eeea57c5938306ad7ccfc7cd71d009d \
+                sha1    7e6a4b6e9798cf3bf4edffc7e2e62e2f51082a41 \
+                rmd160  538da2485bd5bf4e7bccc4d1fb124fe0407ece1c
 
 depends_build   port:pkgconfig
 depends_lib     port:gtk2
 
+post-extract {
+    system "tar xzf ${workpath}/aurora-gtk-engine-${branch}.tar.gz -C ${workpath}"
+    system "tar xjf ${workpath}/Aurora.tar.bz2 -C ${workpath}"
+}
+
+worksrcdir      ${my_name}-[join [lrange [split ${version} .] 0 1] .]
+
 configure.args  --enable-animation
 
 pre-destroot {
@@ -31,7 +43,8 @@
 }
 
 post-destroot {
-    copy ${worksrcpath}/Gtkrc_themes ${destroot}${prefix}/share/themes
+    file mkdir ${destroot}${prefix}/share/themes
+    copy ${workpath}/Aurora ${destroot}${prefix}/share/themes
 
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090421/dc882174/attachment.html>


More information about the macports-changes mailing list