pkgsrc/editors/vim-share/Makefile.common
martti b297726fc6 Updated editors/vim-share to 7.1.330
Add CHECK_INTERPRETER_SKIP for pkg/38710

Apply the following patches:

  1480  7.1.316  when 'cscopetag' is set ":tag" gives an error message
  5203  7.1.317  compiler warnings in Motif calls
  5428  7.1.318  mem leak when closing xsmp conn.; crash on exit with Lesstif
  1514  7.1.319  illegal memory access when pasting illegal utf-8 on cmd line
 28763  7.1.320  Win64: Warnings while compiling Python interface
  2603  7.1.321  (extra) Win32 / Win64: Install file is outdated
  2677  7.1.322  can't get start of Visual area in an <expr> mapping
  1734  7.1.323  test 19 and 38 fail with some termcaps
  1847  7.1.324  file name path length on Unix is limited to 1024
  3559  7.1.325  editing a command line that doesn't fit reverses char order
  1641  7.1.326  ":smagic!from!to!" doesn't work, it sees the "!" as a flag
  5454  7.1.327  gvimtutor is also installed when not building a GUI version
  1859  7.1.328  crash when using Cygwin and non-posix path name in tags file
  2172  7.1.329  right halve of double-wide char under popup menu not redrawn
  1905  7.1.330  reading uninitialized memory when using Del in replace mode
2008-06-23 05:07:56 +00:00

92 lines
3 KiB
Makefile

# $NetBSD: Makefile.common,v 1.110 2008/06/23 05:07:56 martti Exp $
# used by editors/vim/Makefile
# used by editors/vim-gtk/Makefile
# used by editors/vim-gtk2/Makefile
# used by editors/vim-lang/Makefile
# used by editors/vim-motif/Makefile
# used by editors/vim-xaw/Makefile
.include "../../editors/vim-share/version.mk"
DISTNAME= vim-${VIM_VERSION}
DISTFILES= vim-${VIM_VERSION}${EXTRACT_SUFX}
DISTFILES+= vim-${VIM_VERSION}-extra.tar.gz
DISTFILES+= vim-${VIM_VERSION}-lang.tar.gz
CATEGORIES= editors
MASTER_SITES= ftp://ftp.vim.org/pub/editors/vim/unix/
MASTER_SITES+= ftp://ftp.fu-berlin.de/misc/editors/vim/unix/
DIST_SUBDIR= vim
EXTRACT_SUFX= .tar.bz2
SITES.vim-${VIM_VERSION}-extra.tar.gz= ftp://ftp.vim.org/pub/editors/vim/extra/
SITES.vim-${VIM_VERSION}-extra.tar.gz+= ftp://ftp.fu-berlin.de/misc/editors/vim/extra/
SITES.vim-${VIM_VERSION}-lang.tar.gz= ftp://ftp.vim.org/pub/editors/vim/extra/
SITES.vim-${VIM_VERSION}-lang.tar.gz+= ftp://ftp.fu-berlin.de/misc/editors/vim/extra/
PATCH_SITES= ftp://ftp.vim.org/pub/editors/vim/patches/${VIM_VERSION}/
PATCH_SITES+= ftp://ftp.fu-berlin.de/misc/editors/vim/patches/${VIM_VERSION}/
PATCHFILES+= 7.1.001-100.gz 7.1.101-200.gz 7.1.201-300.gz
PATCHFILES+= 7.1.301 7.1.302 7.1.303 7.1.304 7.1.305 7.1.306 7.1.307
PATCHFILES+= 7.1.308 7.1.309 7.1.310 7.1.311 7.1.312 7.1.313 7.1.314
PATCHFILES+= 7.1.315 7.1.316 7.1.317 7.1.318 7.1.319 7.1.320 7.1.321
PATCHFILES+= 7.1.322 7.1.323 7.1.324 7.1.325 7.1.326 7.1.327 7.1.328
PATCHFILES+= 7.1.329 7.1.330
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://www.vim.org/
LICENSE= vim-license
CONFLICTS+= vim-kde-[0-9]*
WRKSRC= ${WRKDIR}/${VIM_SUBDIR}/src
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no # At least on Solaris
# http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=38710
CHECK_INTERPRETER_SKIP= share/vim/vim71/tools/vim132
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-modified-by="${MAINTAINER}"
# 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}/${VIM_SUBDIR} --forward --quiet \
-E ${PATCH_STRIP:Q}
PATCH_DIST_ARGS= -d ${WRKDIR}/${VIM_SUBDIR} --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}/../../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 {} \;