From 3707e5b7408ecadb0bda141dd82ec9bbca5d0267 Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 06:47:41 +0000 Subject: Implment WANT_GTK. --- editors/vim/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editors/vim/Makefile') diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 82efea7c2629..95199b42cff7 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -45,15 +45,15 @@ PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//} MAN1= vim.1 vimtutor.1 xxd.1 ectags.1 MLINKS= vim.1 rvim.1 vim.1 rview.1 ectags.1 etags.1 +.include + .if !defined(LITE) MLINKS+= vim.1 gvim.1 vim.1 gview.1 vim.1 rgvim.1 vim.1 rgview.1 MAKE_ARGS+= X_LIBS=-lxpg4 CONF_OPT_MAX="--enable-max-features" -.if defined(HAVE_GTK) -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +.if defined(WITH_GTK) +USE_GTK= yes MAKE_ARGS+= CONF_OPT_GUI="--enable-gui=gtk --with-gtk-prefix=${X11BASE} --enable-multibyte --enable-fontset --enable-multibyte --enable-xim" .elif defined(HAVE_MOTIF) REQUIRES_MOTIF= yes @@ -83,4 +83,4 @@ post-install: @${RM} -f ${PREFIX}/man/man1/etags.1 @${MV} ${PREFIX}/man/man1/ctags.1 ${PREFIX}/man/man1/ectags.1 -.include +.include -- cgit v1.2.3