[138962] trunk/dports/python/py-game/Portfile

jmr at macports.org jmr at macports.org
Fri Jul 24 22:00:18 PDT 2015


Revision: 138962
          https://trac.macports.org/changeset/138962
Author:   jmr at macports.org
Date:     2015-07-24 22:00:18 -0700 (Fri, 24 Jul 2015)
Log Message:
-----------
py-game: use {*} instead of eval

Modified Paths:
--------------
    trunk/dports/python/py-game/Portfile

Modified: trunk/dports/python/py-game/Portfile
===================================================================
--- trunk/dports/python/py-game/Portfile	2015-07-25 04:56:45 UTC (rev 138961)
+++ trunk/dports/python/py-game/Portfile	2015-07-25 05:00:18 UTC (rev 138962)
@@ -27,7 +27,7 @@
 
 python.versions 26 27
 
-if {${name} ne ${subport}} {
+if {$subport ne $name} {
     patchfiles  patch-config_darwin.py.diff \
                 patch-src_scale_mmx64.c.diff \
                 patch-disable_portmidi.diff
@@ -43,7 +43,7 @@
     
     post-destroot   {
         delete ${destroot}${prefix}/share/doc/${subport}/examples
-        eval copy [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${subport}
+        copy {*}[glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${subport}
         copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
         xinstall -m 644 -W ${worksrcpath} install.html WHATSNEW \
             README.txt ${destroot}${prefix}/share/doc/${subport}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150724/8aaf5a6f/attachment.html>


More information about the macports-changes mailing list