pkgsrc/editors/vim-share/Makefile.common
martti 11d22b860b Updated editors/vim-share to 7.1.145
1414  7.1.117  can't check wether Vim was compiled with Gnome
  1805  7.1.118  (after 7.1.107) compiler warning for Visual C compiler
  1761  7.1.119  crash after setting 'cmdheight' to huge value
 17416  7.1.120  can't use valgrind with "make test" to test for memory leaks
  2350  7.1.121  ":cd %:h" fails when editing file in current directory
  3732  7.1.122  Mac: building with Aap doesn't work properly
  8051  7.1.123  Win32: ":edit foo ~ foo" expands "~"
  2599  7.1.124  (extra) Mac: may get empty buffer if dropping file on Vim.app
 12060  7.1.125  the TermResponse autocommand event is not always triggered
 13372  7.1.126  (extra) ":vimgrep */*" doesn't work if autocmd changes dir
  2319  7.1.127  memory leak when doing completing
  2079  7.1.128  (extra) build problem with Cygwin
  1740  7.1.129  (extra) Win32: Can't get long user name
  9494  7.1.130  crash with some combination of undo and redo
  1535  7.1.131  ":mksession" always adds ":setlocal autoread"
  1781  7.1.132  getpos("'>") may return < 0 for a Linewise selection
  1515  7.1.133  shorten_fname1() linked when it's not needed
 10379  7.1.134  (extra) Win32: Can't build with VC8
  3337  7.1.135  Win32: ":e c:/tmp/foo" and ":e c:/tmp//foo" create two buffers
  1522  7.1.136  memory leak when using Ruby syntax highlighting
  1553  7.1.137  build failure when using EXITFREE
  1836  7.1.138  Perl: Msg() doesn't stop when "q" is typed at the more prompt
  1557  7.1.139  fold truncated when ending Insert mode with CTRL-C
  1664  7.1.140  v:count can't be used in an expression mapping
  2806  7.1.141  GTK: can't use negative offset with -geom argument
  2161  7.1.142  ":redir @A>" doesn't work
  1723  7.1.143  uninitialized memory read when diffing three files
  1250  7.1.144  after ":diffup" cursor can be in the wrong position
  6160  7.1.145  stay in Insert completion mode depending on the char typed
2007-10-22 06:16:16 +00:00

75 lines
2.4 KiB
Makefile

# $NetBSD: Makefile.common,v 1.93 2007/10/22 06:16:16 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.1.001-100.gz
PATCHFILES+= 7.1.101 7.1.102 7.1.103 7.1.104 7.1.105 7.1.106 7.1.107
PATCHFILES+= 7.1.108 7.1.109 7.1.110 7.1.111 7.1.112 7.1.113 7.1.114
PATCHFILES+= 7.1.115 7.1.116 7.1.117 7.1.118 7.1.119 7.1.120 7.1.121
PATCHFILES+= 7.1.122 7.1.123 7.1.124 7.1.125 7.1.126 7.1.127 7.1.128
PATCHFILES+= 7.1.129 7.1.130 7.1.131 7.1.132 7.1.133 7.1.134 7.1.135
PATCHFILES+= 7.1.136 7.1.137 7.1.138 7.1.139 7.1.140 7.1.141 7.1.142
PATCHFILES+= 7.1.143 7.1.144 7.1.145
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 {} \;