summaryrefslogtreecommitdiff
path: root/editors/vim-share/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim-share/Makefile.common')
-rw-r--r--editors/vim-share/Makefile.common16
1 files changed, 13 insertions, 3 deletions
diff --git a/editors/vim-share/Makefile.common b/editors/vim-share/Makefile.common
index a1df1e34359..cc6c18cb79d 100644
--- a/editors/vim-share/Makefile.common
+++ b/editors/vim-share/Makefile.common
@@ -1,17 +1,27 @@
-# $NetBSD: Makefile.common,v 1.11 2001/10/04 12:38:02 agc Exp $
-VIM_VERSION= 6.0
-DISTNAME= vim-${VIM_VERSION}
+# $NetBSD: Makefile.common,v 1.12 2001/10/09 10:11:33 martti Exp $
+VIM_VERSION= 6.0.11
+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
+PATCH_SITES= ${MASTER_SITES:S/unix/patches/}
+.for p in 01 02 03 04 05 06 07 08 09 10 11
+PATCHFILES+= ${VIM_VERSION:C/\.[0-9]*$//}.0${p}
+.endfor
+
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