[36201] trunk/dports/gnome/gnome-games/Portfile

gui_dos at macports.org gui_dos at macports.org
Tue Apr 22 07:02:17 PDT 2008


Revision: 36201
          http://trac.macosforge.org/projects/macports/changeset/36201
Author:   gui_dos at macports.org
Date:     2008-04-22 07:02:15 -0700 (Tue, 22 Apr 2008)

Log Message:
-----------
gnome-games:
* Add post-activate
* Correctly enforce ${prefix}/bin/python2.5

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

Modified: trunk/dports/gnome/gnome-games/Portfile
===================================================================
--- trunk/dports/gnome/gnome-games/Portfile	2008-04-22 13:16:23 UTC (rev 36200)
+++ trunk/dports/gnome/gnome-games/Portfile	2008-04-22 14:02:15 UTC (rev 36201)
@@ -29,10 +29,16 @@
 configure.python ${prefix}/bin/python2.5
 
 post-extract {
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" ${worksrcpath}/glchess/src/glchess.in
-    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" ${worksrcpath}/gnome-sudoku/src/gnome-sudoku.in
+    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" ${worksrcpath}/glchess/src/glchess.in.in
+    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" ${worksrcpath}/gnome-sudoku/src/gnome-sudoku.in.in
 }
 
 platform darwin 9 {
     configure.ldflags-append "-L/usr/X11/lib -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
 }
+
+post-activate {
+        system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+        system "${prefix}/bin/scrollkeeper-update; true"
+        system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true"
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080422/437ec2ae/attachment-0001.html


More information about the macports-changes mailing list