summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-11-09 16:13:25 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-11-09 16:13:25 +0000
commitbc7938554fec6737bb2530cb98d0d218fbabb9ba (patch)
treec3c87a79f0e9492f5fa426f9f74ac485ab4cb0e1 /editors
parentUpdate to Vim 6.0 patchlevel 93 (diff)
Add Cscope support. Define WITH_CSCOPE to compile it in.
Submitted by: nectar
Notes
Notes: svn path=/head/; revision=49880
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 580332889a11..22b1efef7ed0 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -41,7 +41,7 @@ WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
PATCH_DIST_ARGS= -d ${WRKDIR}/${PORTNAME}${PORTVERSION:C/\.[0-9]*$//:S/.//g} --forward --quiet -E ${PATCH_DIST_STRIP}
# consider
#PATCH_DIST_ARGS= -t
-MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib"
+MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
ALL_TARGET= #
PLIST_SUB= VIM_VER=${DISTNAME:S/-//:S/.//}
MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
@@ -60,6 +60,11 @@ I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
WITHOUT_X11= yes
.endif
+.if defined(WITH_CSCOPE)
+RUN_DEPENDS+= cscope:${PORTSDIR}/devel/cscope
+CSCOPE_ARG= --enable-cscope
+.endif
+
.if !defined(WITHOUT_X11)
# for now default the GUI to the GTK+ one
# will be reviewed when the GTK+ 1.{3,4} behemoth is released