title: Recompile MacPort's version of MacVim with Python, Ruby & Perl
body: <p>Linux guy making the switch to Mac (10.8). Because I'm lazy...</p>
  
  <p>I used MacPorts to install MacVim. It seemed to install without error. I just need python, ruby and perl support in mvim.</p>
  
  <pre><code>$ /opt/local/bin/mvim --version | egrep 'patches|python|ruby|perl'
  Included patches: 1-244, 246-646
   +multi_lang -mzscheme +netbeans_intg +odbeditor +path_extra -perl 
  +persistent_undo +postscript +printer -profile -python -python3 +quickfix 
  +reltime -rightleft -ruby +scrollbind +signs +smartindent -sniff +startuptime
  </code></pre>
  
  <p>I looked for the src directory as it's explained in <a href="https://github.com/b4winckler/macvim/blob/master/README_mac.txt" rel="noreferrer">github</a> but found nothing:</p>
  
  <pre><code>$ find /opt/local/ -name src -type d | grep -i vim
  </code></pre>
  
  <p>I did find and extract this file to /tmp/macvim</p>
  
  <pre><code>/opt/local/var/macports/software/MacVim/MacVim-7.3.snapshot65_1.darwin_12.x86_64.tbz2
  </code></pre>
  
  <p>Then grep'd +PORTFILE for the string 'prefix':</p>
  
  <pre><code>$ grep prefix +PORTFILE 
                      PYTHON=${prefix}/bin/python2.7
      copy ${worksrcpath}/src/MacVim/mvim ${destroot}${prefix}/bin
      ln -s mvim ${destroot}${prefix}/bin/mvimdiff
      ln -s mvim ${destroot}${prefix}/bin/mview
      ln -s mvim ${destroot}${prefix}/bin/mvimex
      configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.5
      configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.6
      configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.7
      configure.args-append   --enable-python3interp --with-python3=${prefix}/bin/python3.1
      configure.args-append   --enable-python3interp --with-python3=${prefix}/bin/python3.2
  </code></pre>
  
  <p>At this point it seems like all the interpreters I care about should have been enabled. So, now I'm confused.</p>
  
  <p>The question now is:</p>
  
  <ol>
  <li>Is there a way to fix the MacPorts version I have? or</li>
  <li>Do I back out of it and run with the github package?</li>
  <li>It looks as if Homebrew version is fairly flexible as well.</li>
  </ol>
  
  <p>Anyway, I'm kinda lost in Mac-world. Any guidance would be appreciated.</p>