<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/256ac0e8c4995e1fb83c3e2640177c7257d67c4d">https://github.com/macports/macports-ports/commit/256ac0e8c4995e1fb83c3e2640177c7257d67c4d</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 256ac0e  MacVim: Add libexec symlinks to override vim
</span>256ac0e is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 256ac0e8c4995e1fb83c3e2640177c7257d67c4d
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Sun Apr 1 17:21:25 2018 +0200

<span style='display:block; white-space:pre;color:#404040;'>    MacVim: Add libexec symlinks to override vim
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Install symlinks with the normal names vim, view, vimdiff, etc. to
</span><span style='display:block; white-space:pre;color:#404040;'>    ${prefix}/libexec/macvim/. This directory can be added in front of PATH
</span><span style='display:block; white-space:pre;color:#404040;'>    to override the vim port.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://github.com/macports/macports-ports/pull/1333
</span>---
 editors/MacVim/Portfile | 7 +++++++
 1 file changed, 7 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/MacVim/Portfile b/editors/MacVim/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bb3889c..a4573fe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/editors/MacVim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/MacVim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortGroup           compiler_blacklist_versions 1.0
</span> 
 set vim_version     8.0
 set snapshot        145
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> github.setup        macvim-dev macvim ${snapshot} snapshot-
 name                MacVim
 version             ${vim_version}.snapshot${snapshot}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,6 +82,12 @@ destroot {
</span>     ln -s ${applications_dir}/MacVim.app/Contents/bin/mvim ${destroot}${prefix}/bin/mview
     # Link as mvimex as bin/mex conflicts with texlive
     ln -s ${applications_dir}/MacVim.app/Contents/bin/mvim ${destroot}${prefix}/bin/mvimex
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Create a separate dir that can be added to PATH to access non-gui MacVim tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${prefix}/libexec/macvim
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach bin {vim vimdiff view vi ex rvim rview} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ln -s ${applications_dir}/MacVim.app/Contents/bin/mvim ${destroot}${prefix}/libexec/macvim/${bin}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> }
 
 test.run            yes
</pre><pre style='margin:0'>

</pre>