[38853] trunk/dports/games/2Pong/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 1 03:39:09 PDT 2008


Revision: 38853
          http://trac.macosforge.org/projects/macports/changeset/38853
Author:   ryandesign at macports.org
Date:     2008-08-01 03:39:08 -0700 (Fri, 01 Aug 2008)
Log Message:
-----------
2Pong: fix wrapper so it still works if the work area is cleaned up, as it is by default

Modified Paths:
--------------
    trunk/dports/games/2Pong/Portfile

Modified: trunk/dports/games/2Pong/Portfile
===================================================================
--- trunk/dports/games/2Pong/Portfile	2008-08-01 10:35:50 UTC (rev 38852)
+++ trunk/dports/games/2Pong/Portfile	2008-08-01 10:39:08 UTC (rev 38853)
@@ -4,6 +4,7 @@
 
 name                    2Pong
 version                 0.6
+revision                1
 categories              games
 platforms               darwin
 maintainers             nomaintainer
@@ -32,6 +33,7 @@
 }
 
 post-destroot {
+    reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/bin/2Pong
     xinstall -d ${destroot}${applications_dir}/2Pong.app/Contents/MacOS
     ln -s ${prefix}/bin/2Pong ${destroot}${applications_dir}/2Pong.app/Contents/MacOS/2Pong
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/cd8c75f3/attachment.html 


More information about the macports-changes mailing list