Linux guy makes the switch to Mac (10.8). Because I'm lazy ...
I used MacPorts to install MacVim. It seemed that it was installed without errors. I just need python, ruby ββand perl support in mvim.
$ /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
I searched the src directory as described on github but did not find anything:
$ find /opt/local/ -name src -type d | grep -i vim
I found and extracted this file in / tmp / macvim
/opt/local/var/macports/software/MacVim/MacVim-7.3.snapshot65_1.darwin_12.x86_64.tbz2
Then grep'd + PORTFILE to prefix the string:
$ 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
At the moment, it seems that all the interpreters that I care about should have been turned on. So, now I'm confused.
Now the question is:
- Is there a way to fix my MacPorts version? or
- Give it up and run with github package?
- It seems that the version of Homebrew is quite flexible.
Anyway, I'm a little lost in the Mac world. Any recommendations would be appreciated.
source share