blob: 72e517d27ffed7a33d642c83146620e63ae4673c (
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
|
# $NetBSD: Makefile.common,v 1.50 2005/10/17 06:49:34 martti Exp $
.include "../../editors/vim-share/version.mk"
DISTNAME= vim-${VIM_VERSION}
DISTFILES= vim-${VIM_VERSION}${EXTRACT_SUFX}
DISTFILES+= vim-${VIM_VERSION}-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}/
PATCHFILES+=
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://www.vim.org/
CONFLICTS+= vim-kde-[0-9]*
WRKSRC= ${WRKDIR}/${VIM_SUBDIR}/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}/${VIM_SUBDIR} --forward --quiet \
-E ${PATCH_STRIP}
PATCH_DIST_ARGS= -d ${WRKDIR}/${VIM_SUBDIR} --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
|