Revision
38865
Author
ryandesign@macports.org
Date
2008-08-01 04:28:53 -0700 (Fri, 01 Aug 2008)

Log Message

Freecell: fix install when not root

Modified Paths

Diff

Modified: trunk/dports/aqua/Freecell/Portfile (38864 => 38865)


--- 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}