[72422] trunk/dports/games/PCLauncher/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Oct 14 03:30:34 PDT 2010


Revision: 72422
          http://trac.macports.org/changeset/72422
Author:   ryandesign at macports.org
Date:     2010-10-14 03:30:29 -0700 (Thu, 14 Oct 2010)
Log Message:
-----------
PCLauncher: fix non-root installs by overriding Xcode's very stupidly obsessive write permission removal

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

Modified: trunk/dports/games/PCLauncher/Portfile
===================================================================
--- trunk/dports/games/PCLauncher/Portfile	2010-10-14 09:56:15 UTC (rev 72421)
+++ trunk/dports/games/PCLauncher/Portfile	2010-10-14 10:30:29 UTC (rev 72422)
@@ -37,6 +37,11 @@
 }
 
 post-destroot {
+    fs-traverse dir ${destroot} {
+        if {[file isdirectory ${dir}]} {
+            file attributes ${dir} -permissions u+w
+        }
+    }
     foreach app {PCDownloader PCExtractor} {
         xinstall -d ${destroot}${applications_dir}/PCLauncher.app/Contents/Resources/${app}.app/Contents/MacOS
         xinstall ${worksrcpath}/${app} ${destroot}${applications_dir}/PCLauncher.app/Contents/Resources/${app}.app/Contents/MacOS/${app}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101014/f83d16f2/attachment-0001.html>


More information about the macports-changes mailing list