summaryrefslogtreecommitdiff
path: root/editors/vim-share/Makefile.common
blob: 4cc7012066d42c924d765e15a9c4a912653fbf48 (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
# $NetBSD: Makefile.common,v 1.32 2003/03/29 12:40:47 jmmv Exp $

VIM_VERSION=		6.1
VIM_PATCHLEVEL=		405
DISTNAME=		vim-${VIM_VERSION}.${VIM_PATCHLEVEL}
WRKSRC=			${WRKDIR}/vim61/src
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+=		${MASTER_SITES:S/unix/patches/}
##PATCHFILES!=		jot -s " " -w ${VIM_VERSION}.%03d ${VIM_PATCHLEVEL}
##SKIP_PATCHES=		
##.for p in ${SKIP_PATCHES}
##PATCHFILES:=		${PATCHFILES:N${VIM_VERSION}.${p}}
##.endif

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

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

USE_BUILDLINK2=		yes
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}

PATCH_ARGS=		-d ${WRKDIR}/vim61 --forward --quiet \
				-E ${PATCH_STRIP}
PATCH_DIST_ARGS=	-d ${WRKDIR}/vim61 --forward --quiet \
				-E ${PATCH_DIST_STRIP}
PATCHDIR?=		${.CURDIR}/../vim-share/patches
DISTINFO_FILE?=		${.CURDIR}/../vim-share/distinfo