pkgsrc/editors/vim-share/Makefile.common
martti c2fb140881 Update vim to 7.0.0
Since Vim 6.4 many new features have been added.  To mention a few:

- Spell checking support for about 50 languages
- Intelligent completion for C, HTML, Ruby, Python, PHP, etc.
- Tab pages, each containing multiple windows
- Undo branches: never accidentally lose text again
- Vim script supports Lists and Dictionaries (similar to Python)
- Vim script profiling
- Improved Unicode support
- Highlighting of cursor line, cursor column and matching braces
- Translated manual pages support.
- Internal grep; works on all platforms, searches compressed files
- Browsing remote directories, zip and tar archives
- Printing multi-byte text

Once you have installed Vim 7.0 you can find details about the changes
since Vim 6.4 with ":help version7".
2006-05-09 06:36:48 +00:00

55 lines
1.6 KiB
Text

# $NetBSD: Makefile.common,v 1.58 2006/05/09 06:36:48 martti Exp $
.include "../../editors/vim-share/version.mk"
DISTNAME= vim-${VIM_VERSION}
DISTFILES= vim-${VIM_VERSION:Q}${EXTRACT_SUFX:Q}
DISTFILES+= vim-${VIM_VERSION:Q}-lang.tar.gz
CATEGORIES= editors
MASTER_SITES= ftp://ftp.vim.org/pub/editors/vim/unix/ \
ftp://ftp.fu-berlin.de/misc/editors/vim/unix/ \
ftp://ftp.twics.co.jp/pub/vim/unix/
SITES_vim-${VIM_VERSION}-lang.tar.gz= ftp://ftp.vim.org/pub/vim/extra/
DIST_SUBDIR= vim
EXTRACT_SUFX= .tar.bz2
#PATCH_SITES= ftp://ftp.vim.org/pub/editors/vim/patches/${VIM_VERSION:Q}/
#PATCHFILES+= 7.0.001
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://www.vim.org/
CONFLICTS+= vim-kde-[0-9]*
WRKSRC= ${WRKDIR}/${VIM_SUBDIR}/src
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
# See "configure --help" extra options. These might affect the installed
# files (and PLIST might not include all files) so use at your own risk!
CONFIGURE_ARGS+= ${VIM_EXTRA_OPTS}
CONFIGURE_ARGS+= --enable-multibyte
PATCH_ARGS= -d ${WRKDIR:Q}/${VIM_SUBDIR:Q} --forward --quiet \
-E ${PATCH_STRIP}
PATCH_DIST_ARGS= -d ${WRKDIR:Q}/${VIM_SUBDIR:Q} --forward --quiet \
-E ${PATCH_DIST_STRIP}
PATCHDIR?= ${.CURDIR}/../../editors/vim-share/patches
DISTINFO_FILE?= ${.CURDIR}/../../editors/vim-share/distinfo
.if empty(PKGNAME:Mvim-share*)
ALTERNATIVES_SRC= ${.CURDIR:Q}/../../editors/vim-share/ALTERNATIVES
.else
ALTERNATIVES_SRC=
.endif
PKG_SUPPORTED_OPTIONS+= cscope
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcscope)
DEPENDS+= cscope-[0-9]*:../../devel/cscope
CONFIGURE_ARGS+= --enable-cscope
.endif