summaryrefslogtreecommitdiff
path: root/editors/vim-share/Makefile.common
blob: 3bad3e4ee326ed2f23ca636ee573962ed77a54a9 (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.33 2003/06/02 07:27:25 martti Exp $

VIM_VERSION=		6.2
VIM_PATCHLEVEL=		0
DISTNAME=		vim-${VIM_VERSION}
WRKSRC=			${WRKDIR}/vim62/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}/vim62 --forward --quiet \
				-E ${PATCH_STRIP}
PATCH_DIST_ARGS=	-d ${WRKDIR}/vim62 --forward --quiet \
				-E ${PATCH_DIST_STRIP}
PATCHDIR?=		${.CURDIR}/../vim-share/patches
DISTINFO_FILE?=		${.CURDIR}/../vim-share/distinfo