Revision: 138962 https://trac.macports.org/changeset/138962 Author: jmr@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}