aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-08-20 15:05:19 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-08-20 15:05:19 +0800
commitf899b3867f93ab125aa1eacb34e212d905486e64 (patch)
tree7c108682b9fcc6c59331268dec6bd06b3487edaf /editors
parenta5b1206ea9e477e9eb9c5dce8a93a28cd33861fc (diff)
downloadfreebsd-ports-gnome-f899b3867f93ab125aa1eacb34e212d905486e64.tar.gz
freebsd-ports-gnome-f899b3867f93ab125aa1eacb34e212d905486e64.tar.zst
freebsd-ports-gnome-f899b3867f93ab125aa1eacb34e212d905486e64.zip
- Convert to new options helper
- Cleanup Makefile
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index d83223c740aa..e61b53a850fd 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -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