139dcdce67
2751 7.0.196 mouse pointer position wrong after ":vert ball" 1717 7.0.197 (extra) Win32: can't compile with EXITFREE 7454 7.0.198 (extra) Win32: compiler warnings, don't generate gvim.exe.mnf 1969 7.0.199 cursor in wrong col when completing+formatting multi-byte 2792 7.0.200 memory leaks when out of memory 2511 7.0.201 error message from ":diffput" may be wrong
70 lines
2 KiB
Makefile
70 lines
2 KiB
Makefile
# $NetBSD: Makefile.common,v 1.78 2007/02/25 12:20:20 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}-extra.tar.gz
|
|
DISTFILES+= vim-${VIM_VERSION:Q}-lang.tar.gz
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ftp://ftp.vim.org/pub/editors/vim/unix/ \
|
|
ftp://ftp.vim.org/pub/editors/vim/extra/
|
|
DIST_SUBDIR= vim
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
PATCH_SITES= ftp://ftp.vim.org/pub/editors/vim/patches/${VIM_VERSION:Q}/
|
|
PATCH_SITES+= ftp://ftp.fu-berlin.de/misc/editors/vim/patches/${VIM_VERSION:Q}/
|
|
|
|
PATCHFILES+= 7.0.001-100.gz 7.0.101-200.gz
|
|
PATCHFILES+= 7.0.201
|
|
|
|
MAINTAINER= martti@NetBSD.org
|
|
HOMEPAGE= http://www.vim.org/
|
|
|
|
CONFLICTS+= vim-kde-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}/${VIM_SUBDIR}/src
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= no # At least on Solaris
|
|
|
|
.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:Q}
|
|
PATCH_DIST_ARGS= -d ${WRKDIR:Q}/${VIM_SUBDIR:Q} --forward --quiet \
|
|
-E ${PATCH_DIST_STRIP:Q}
|
|
PATCHDIR= ${.CURDIR}/../../editors/vim-share/patches
|
|
DISTINFO_FILE?= ${.CURDIR}/../../editors/vim-share/distinfo
|
|
|
|
.if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon)
|
|
BUILDLINK_PASSTHRU_DIRS+= /Developer/Headers/FlatCarbon
|
|
.endif
|
|
|
|
.if empty(PKGNAME:Mvim-share*)
|
|
ALTERNATIVES_SRC= ${.CURDIR:Q}/../../editors/vim-share/ALTERNATIVES
|
|
.else
|
|
ALTERNATIVES_SRC=
|
|
.endif
|
|
|
|
PKG_SUPPORTED_OPTIONS+= cscope ruby
|
|
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
|
|
|
|
.if !empty(PKG_OPTIONS:Mruby)
|
|
.include "../../lang/ruby/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-rubyinterp
|
|
.endif
|
|
|
|
post-patch:
|
|
${FIND} ${WRKDIR} -name '*.orig_dist' -exec ${RM} -f {} \;
|