Skip to content

Commit

Permalink
editors/vim: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: FreeBSD
  • Loading branch information
fichtner committed Aug 20, 2015
1 parent 7c63687 commit 8f4587d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions editors/vim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,23 @@ PLIST_SUB+= NON_LITE=""
.endif

ATHENA_MAKE_ARGS= CONF_OPT_GUI=--enable-gui=athena
ATHENA_PLIST_SUB= GUI=""
ATHENA_USE= XORG=xaw
CONSOLE_MAKE_ARGS= CONF_OPT_GUI="--enable-gui=no --without-x"
CONSOLE_PLIST_SUB= GUI="@comment "
CSCOPE_MAKE_ARGS= CONF_OPT_CSCOPE=--enable-cscope
CSCOPE_RUN_DEPENDS= ${LOCALBASE}/bin/cscope:${PORTSDIR}/devel/cscope
EXUBERANT_CTAGS_RUN_DEPENDS= ${LOCALBASE}/bin/exctags:${PORTSDIR}/devel/ctags
GNOME_MAKE_ARGS= CONF_OPT_GUI=--enable-gui=gnome2 X_LIBS="$(X_LIBS) -lX11 -lXpm -lXt"
GNOME_PLIST_SUB= GUI=""
GNOME_USE= GNOME=libgnomeui XORG=glproto,xpm,xt
GTK2_MAKE_ARGS= CONF_OPT_GUI=--enable-gui=gtk2 X_LIBS="$(X_LIBS) -lX11 -lXpm -lXt"
GTK2_PLIST_SUB= GUI=""
GTK2_USE= GNOME=gtk20 XORG=xpm,xt
LUA_MAKE_ARGS= CONF_OPT_LUA=--enable-luainterp=dynamic CONF_OPT_LUA_PREFIX=--with-lua-prefix=${LOCALBASE}
LUA_USES= lua
MOTIF_MAKE_ARGS= CONF_OPT_GUI='--enable-gui=motif --with-motif-lib="${MOTIFLIB}"' MOTIFHOME=${LOCALBASE}
MOTIF_PLIST_SUB= GUI=""
MOTIF_USES= motif
NLS_MAKE_ARGS= CONF_OPT_NLS=--enable-nls
NLS_MAKE_ARGS_OFF= CONF_OPT_NLS=--disable-nls
Expand All @@ -90,20 +95,11 @@ RUBY_USE= RUBY=yes
TCL_MAKE_ARGS= CONF_OPT_TCL="--enable-tclinterp --with-tclsh=tclsh${TCL_VER}"
TCL_USES= tcl:85+
X11_MAKE_ARGS= CONF_OPT_GUI="--enable-gui=no --with-x" X_LIBS="$(X_LIBS) -lX11 -lXt"
X11_PLIST_SUB= GUI="@comment "
X11_USE= XORG=x11,xt

.include <bsd.port.options.mk>

.if !${PORT_OPTIONS:MATHENA} && !${PORT_OPTIONS:MCONSOLE} && !${PORT_OPTIONS:MGNOME} && !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MMOTIF} && !${PORT_OPTIONS:MX11}
IGNORE= this port has new UI option (CONSOLE) for users who do not need GUI support. Please run "make config" to modify your setting
.endif

.if ${PORT_OPTIONS:MCONSOLE} || ${PORT_OPTIONS:MX11}
PLIST_SUB+= GUI="@comment "
.else
PLIST_SUB+= GUI=""
.endif

.if ${PORT_OPTIONS:MEXUBERANT_CTAGS}
CTAGS_CMD= exctags -R .
.else
Expand Down

0 comments on commit 8f4587d

Please sign in to comment.