summaryrefslogtreecommitdiff
path: root/editors/vim-share/Makefile.common
blob: 518de4c4acd4b9a88f279024b775f4bed32bf3b9 (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
# $NetBSD: Makefile.common,v 1.45 2005/05/16 13:39:04 martti Exp $

VIM_VERSION=		6.3
VIM_PATCHLEVEL=		071
DISTNAME=		vim-${VIM_VERSION}
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

PATCH_SITES=		ftp://ftp.vim.org/pub/editors/vim/patches/${VIM_VERSION}/
PATCHFILES+=		6.3.001 6.3.002 6.3.003 6.3.004 6.3.005 6.3.006 6.3.007\
			6.3.008 6.3.009 6.3.010 6.3.011 6.3.012 6.3.013 6.3.014\
			6.3.015 6.3.016 6.3.017 6.3.018 6.3.019 6.3.020 6.3.021\
			6.3.023 6.3.024 6.3.026 6.3.027 6.3.028 6.3.029 6.3.030\
			6.3.031 6.3.032 6.3.033 6.3.034 6.3.036 6.3.037 6.3.039\
			6.3.040 6.3.042 6.3.043 6.3.045 6.3.046 6.3.049 6.3.050\
			6.3.051 6.3.054 6.3.055 6.3.056 6.3.057 6.3.058 6.3.059\
			6.3.060 6.3.061 6.3.062 6.3.063 6.3.064 6.3.065 6.3.066\
			6.3.067 6.3.068 6.3.069 6.3.070 6.3.071

MAINTAINER=		martti@NetBSD.org
HOMEPAGE=		http://www.vim.org/

CONFLICTS+=		vim-kde-[0-9]*

WRKSRC=			${WRKDIR}/vim63/src
GNU_CONFIGURE=		yes

# 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}/vim63 --forward --quiet \
				-E ${PATCH_STRIP}
PATCH_DIST_ARGS=	-d ${WRKDIR}/vim63 --forward --quiet \
				-E ${PATCH_DIST_STRIP}
PATCHDIR?=		${.CURDIR}/../../editors/vim-share/patches
DISTINFO_FILE?=		${.CURDIR}/../../editors/vim-share/distinfo

.if empty(PKGNAME:Mvim-share*)
ALTERNATIVES_SRC=	${.CURDIR}/../../editors/vim-share/ALTERNATIVES
.else
ALTERNATIVES_SRC=
.endif