[59398] trunk/dports/science/pymol/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Oct 14 09:35:38 PDT 2009


Revision: 59398
          http://trac.macports.org/changeset/59398
Author:   ryandesign at macports.org
Date:     2009-10-14 09:35:36 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
pymol: use "copy" instead of "system" to copy files

Modified Paths:
--------------
    trunk/dports/science/pymol/Portfile

Modified: trunk/dports/science/pymol/Portfile
===================================================================
--- trunk/dports/science/pymol/Portfile	2009-10-14 16:22:36 UTC (rev 59397)
+++ trunk/dports/science/pymol/Portfile	2009-10-14 16:35:36 UTC (rev 59398)
@@ -49,6 +49,8 @@
 destroot {
     file mkdir ${destroot}${prefix}/lib/pymol/bin
     copy  ${worksrcpath}/setup/pymol.com.osx-fink ${destroot}${prefix}/lib/pymol/bin/pymol
-    system "cd ${worksrcpath}; cp -r data modules examples test scripts ${destroot}${prefix}/lib/pymol"
     ln -s ${prefix}/lib/pymol/bin/pymol ${destroot}${prefix}/bin
+    foreach d {data modules examples test scripts} {
+        copy ${worksrcpath}/${d} ${destroot}${prefix}/lib/pymol
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091014/02c352a9/attachment.html>


More information about the macports-changes mailing list