summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2007-10-25 16:52:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2007-10-25 16:52:59 +0000
commita68ca0ea739900b21903d6820231d5024bd6ae55 (patch)
tree1b6481717af7384c0b30ad8c3b1793c08f15b898 /editors/vim
parentFix the build with new gtk20. (diff)
Move around the package-building options to make other ones easier to see,
and conditionalize WANT_PERL & WANT_GNOME.
Notes
Notes: svn path=/head/; revision=202001
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile33
1 files changed, 19 insertions, 14 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 097607c4f982..9f21cab7eb40 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -33,18 +33,6 @@ SLAVEDIRS= editors/vim-lite
.include "${.CURDIR}/options"
.endif
-.if defined(PACKAGE_BUILDING) && !defined(LITE)
-#WITH_TCL= yes
-WITH_PERL= yes
-WITH_PYTHON= yes
-WITH_CSCOPE= yes
-WITH_EXUBERANT_CTAGS=yes
-.endif
-
-.if defined(WITH_TCL)
-BROKEN= Does not compile
-.endif
-
USE_BZIP2= yes
DIST_SUBDIR= vim
WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
@@ -66,8 +54,17 @@ MLINKS+= vim.1 gvim.1 vim.1 gview.1 vimdiff.1 gvimdiff.1 \
MANLANG= "" ru.KOI8-R ru.UTF-8 pl.ISO8859-2 pl.UTF-8 pl fr.ISO8859-1 \
fr.UTF-8 fr it.ISO8859-1 it.UTF-8 it
-WANT_GNOME= yes
-WANT_PERL= yes
+.if defined(PACKAGE_BUILDING) && !defined(LITE)
+#WITH_TCL= yes
+WITH_PERL= yes
+WITH_PYTHON= yes
+WITH_CSCOPE= yes
+WITH_EXUBERANT_CTAGS=yes
+.endif
+
+.if defined(WITH_TCL)
+BROKEN= Does not compile
+.endif
.if defined(WITH_PYTHON)
USE_PYTHON= yes
@@ -79,6 +76,14 @@ USE_RUBY= yes
MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp"
.endif
+.if defined(WITH_PERL)
+WANT_PERL= yes
+.endif
+
+.if !defined(WITHOUT_X11)
+WANT_GNOME= yes
+.endif
+
.include <bsd.port.pre.mk>
.if !defined(LITE)