svn commit: r394835 - head/editors/vim
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Aug 20 07:05:21 UTC 2015
Author: sunpoet
Date: Thu Aug 20 07:05:19 2015
New Revision: 394835
URL: https://svnweb.freebsd.org/changeset/ports/394835
Log:
- Convert to new options helper
- Cleanup Makefile
Modified:
head/editors/vim/Makefile
Modified: head/editors/vim/Makefile
==============================================================================
--- head/editors/vim/Makefile Thu Aug 20 06:46:33 2015 (r394834)
+++ head/editors/vim/Makefile Thu Aug 20 07:05:19 2015 (r394835)
@@ -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
@@ -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
More information about the svn-ports-all
mailing list