Freebsd – the difference between vim and vim-lite

freebsdvim

I want to install vim on my FreeBSD machine, and this other site suggests installing from FreeBSD ports like this:

# cd /usr/ports/editors/vim-lite/
# make install clean

This is all great, and I intend to install from the FreeBSD ports. However, I notice that there is also this other directory on my machine:

/usr/ports/editors/vim/

What is the difference between vim and vim-lite? And why would I want one versus the other? Obviously, vim-lite is "lighter"; but what am I sacrificing to have a lighter version?

Best Answer

/usr/ports/editors/vim-lite/Makefile sets a variable (LITE=yes) and then includes /usr/ports/editors/vim/Makefile which does the following if LITE is set:

OPTIONS_EXCLUDE=ATHENA CSCOPE EXUBERANT_CTAGS GNOME GTK2 LUA MOTIF NLS PERL PYTHON RUBY TCL X11 XTERM_SAVE OPTIONS_SLAVE=  CONSOLE MAKE_ARGS+=     CONF_OPT_GUI="--enable-gui=no --without-x" \
                CONF_OPT_LUA=--disable-luainterp \
                CONF_OPT_PERL=--disable-perlinterp \
                CONF_OPT_PYTHON="--disable-pythoninterp --disable-python3interp" \
                CONF_OPT_RUBY=--disable-rubyinterp \
                CONF_OPT_TCL=--disable-tclinterp
Related Question