[38865] trunk/dports/aqua/Freecell/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 1 04:28:54 PDT 2008


Revision: 38865
          http://trac.macosforge.org/projects/macports/changeset/38865
Author:   ryandesign at macports.org
Date:     2008-08-01 04:28:53 -0700 (Fri, 01 Aug 2008)
Log Message:
-----------
Freecell: fix install when not root

Modified Paths:
--------------
    trunk/dports/aqua/Freecell/Portfile

Modified: trunk/dports/aqua/Freecell/Portfile
===================================================================
--- trunk/dports/aqua/Freecell/Portfile	2008-08-01 11:09:21 UTC (rev 38864)
+++ trunk/dports/aqua/Freecell/Portfile	2008-08-01 11:28:53 UTC (rev 38865)
@@ -36,6 +36,11 @@
 }
 
 post-destroot {
+    fs-traverse dir ${worksrcpath}/build {
+        if {[file isdirectory ${dir}]} {
+            file attributes ${dir} -permissions u+w
+        }
+    }
     xinstall -d ${destroot}${applications_dir}
     copy ${worksrcpath}/build/UninstalledProducts/Freecell.app \
         ${destroot}${applications_dir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/59de3472/attachment.html 


More information about the macports-changes mailing list