blob: 8d9075d72b770cbcc1780e71fb618393bf0924ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# $NetBSD: Makefile.common,v 1.63 2006/08/31 18:44:36 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}/
PATCH_SITES+= ftp://ftp.fu-berlin.de/misc/editors/vim/patches/${VIM_VERSION:Q}/
PATCHFILES+= 7.0.001 7.0.002 7.0.003 7.0.004 7.0.007 7.0.008 7.0.009
PATCHFILES+= 7.0.010 7.0.011 7.0.012 7.0.013 7.0.014 7.0.015 7.0.016
PATCHFILES+= 7.0.017 7.0.018 7.0.019 7.0.020 7.0.021 7.0.022 7.0.023
PATCHFILES+= 7.0.024 7.0.025 7.0.026 7.0.029 7.0.030 7.0.031 7.0.033
PATCHFILES+= 7.0.034 7.0.035 7.0.036 7.0.037 7.0.038 7.0.039 7.0.040
PATCHFILES+= 7.0.041 7.0.042 7.0.043 7.0.044 7.0.046 7.0.047 7.0.048
PATCHFILES+= 7.0.049 7.0.050 7.0.051 7.0.052 7.0.053 7.0.054 7.0.055
PATCHFILES+= 7.0.056 7.0.058 7.0.059 7.0.060 7.0.061 7.0.062 7.0.063
PATCHFILES+= 7.0.064 7.0.066 7.0.067 7.0.068 7.0.069 7.0.070 7.0.071
PATCHFILES+= 7.0.072 7.0.073 7.0.075 7.0.076
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: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 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
|