pkgsrc/editors/vim-share/Makefile.common
martti 740ff9dea7 Updated vim to 7.2.315
1831  7.2.304  compiler warning for bad pointer cast
  2727  7.2.305  recursively redrawing causes a memory leak
  1541  7.2.306  shellescape("10%%", 1) only escapes first %
  4869  7.2.307  crash with a very long syntax match statement
  5504  7.2.308  submatch() in "\=" of ":s" command returns empty string
  1533  7.2.309  (after 7.2.308) warning for missing function prototype
  1874  7.2.310  ftdetect plugin using ":setf" doesn't work with # comment
  1408  7.2.311  can't compile with FreeMiNT
  9769  7.2.312  iconv() returns invalid char sequence when conversion fails
  3744  7.2.313  command line completion doesn't work after "%:h" and similar
  1620  7.2.314  small build broken after 7.2.313
  4605  7.2.315  Python libs can't be found on 64 bit system
2009-12-04 10:38:23 +00:00

86 lines
2.8 KiB
Makefile

# $NetBSD: Makefile.common,v 1.133 2009/12/04 10:38:23 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${VIM_VERSION}
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.2.001-100.gz 7.2.101-200.gz 7.2.201-300.gz
PATCHFILES+= 7.2.301 7.2.302 7.2.303 7.2.304 7.2.305 7.2.306 7.2.307
PATCHFILES+= 7.2.308 7.2.309 7.2.310 7.2.311 7.2.312 7.2.313 7.2.314
PATCHFILES+= 7.2.315
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/vim72/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
CONFIGURE_ARGS+= --enable-cscope
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+= ruby
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
.include "../../mk/bsd.options.mk"
.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 {} \;