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
|
# $NetBSD: Makefile.common,v 1.25 2002/02/05 13:00:43 martti Exp $
VIM_VERSION= 6.0.185
DISTNAME= vim-${VIM_VERSION:C/\.[0-9]*$//}
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/
DIST_SUBDIR= vim
EXTRACT_SUFX= .tar.bz2
#
# Following patches were ignored:
# 121, 122, 123, 125, 135, 137, 138, 144, 147, 152, 161, 162, 164, 165, 179,
# 181
#
PATCH_SITES+= ${MASTER_SITES:S/unix/patches/}
.for p in 124 126 127 128 129 130 \
131 132 133 134 136 139 140 \
141 142 143 145 146 148 149 150 \
151 153 154 155 156 157 158 159 160 \
163 166 167 168 169 170 \
171 172 173 174 175 176 177 178 180 \
182 183 184 185
PATCHFILES+= ${VIM_VERSION:C/\.[0-9]*$//}.${p}
.endfor
#
# Combine the first 120 patches into one big patch
#
# Ignored: 12, 27, 48, 53, 64, 70, 73, 87, 93, 106, 107, 115, 116, 117, 119
#
PATCH_SITES+= ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/LOCAL_PORTS/
PATCHFILES+= vim-6.0-001-120.diff.gz
MAINTAINER= martti@netbsd.org
HOMEPAGE= http://www.vim.org/
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/vim60/src
PATCH_ARGS= -d ${WRKDIR}/vim60 --forward --quiet \
-E ${PATCH_STRIP}
PATCH_DIST_ARGS= -d ${WRKDIR}/vim60 --forward --quiet \
-E ${PATCH_DIST_STRIP}
PATCHDIR?= ${.CURDIR}/../vim-share/patches
DISTINFO_FILE?= ${.CURDIR}/../vim-share/distinfo
|