[33714] trunk/dports/graphics/blender/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Feb 3 13:56:33 PST 2008


Revision: 33714
          http://trac.macosforge.org/projects/macports/changeset/33714
Author:   ryandesign at macports.org
Date:     2008-02-03 13:56:32 -0800 (Sun, 03 Feb 2008)

Log Message:
-----------
blender: simplify destroot phase and avoid using deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/graphics/blender/Portfile

Modified: trunk/dports/graphics/blender/Portfile
===================================================================
--- trunk/dports/graphics/blender/Portfile	2008-02-03 21:46:04 UTC (rev 33713)
+++ trunk/dports/graphics/blender/Portfile	2008-02-03 21:56:32 UTC (rev 33714)
@@ -38,10 +38,8 @@
 
 destroot {
         set appPath ${destroot}/Applications/MacPorts
-        cd ${worksrcpath}
-        xinstall -d -m 0755 ${appPath}
-        system "ditto -v blender.app ${appPath}/blender.app"
-        system "ditto -v blenderplayer.app ${appPath}/blenderplayer.app"
+        xinstall -d ${appPath}
+        copy ${worksrcpath}/blender.app ${worksrcpath}/blenderplayer.app ${appPath}
 }
 
 post-activate {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080203/39ef5dd3/attachment.html


More information about the macports-changes mailing list