<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/aa95012143772912e000bc48b24af2500ce37f62">https://github.com/macports/macports-ports/commit/aa95012143772912e000bc48b24af2500ce37f62</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit aa95012143772912e000bc48b24af2500ce37f62
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Fri Aug 25 21:53:03 2017 -0400

<span style='display:block; white-space:pre;color:#404040;'>    pyfa: set script command to python2.7
</span>---
 games/pyfa/Portfile | 5 +++++
 1 file changed, 5 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/pyfa/Portfile b/games/pyfa/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 036488f..affa2a7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/pyfa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/pyfa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,6 +36,11 @@ set python_path         ${python.pkgd}/${name}
</span> set python_target_path  ${destroot}${python_path}
 
 python.link_binaries no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|#!/usr/bin/env python|#!${python.bin}|" ${worksrcpath}/pyfa.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
     xinstall -d -m 755 ${python_target_path}
     copy {*}[glob ${worksrcpath}/*] ${python_target_path}
</pre><pre style='margin:0'>

</pre>