2006-08-31 20:44:36 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.63 2006/08/31 18:44:36 martti Exp $
|
2005-05-30 16:18:14 +02:00
|
|
|
|
|
|
|
.include "../../editors/vim-share/version.mk"
|
2001-10-24 12:55:21 +02:00
|
|
|
|
2003-06-02 09:27:24 +02:00
|
|
|
DISTNAME= vim-${VIM_VERSION}
|
2006-03-02 12:32:34 +01:00
|
|
|
DISTFILES= vim-${VIM_VERSION:Q}${EXTRACT_SUFX:Q}
|
|
|
|
DISTFILES+= vim-${VIM_VERSION:Q}-lang.tar.gz
|
1999-12-21 14:20:32 +01:00
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ftp://ftp.vim.org/pub/editors/vim/unix/ \
|
|
|
|
ftp://ftp.fu-berlin.de/misc/editors/vim/unix/ \
|
2000-06-25 14:10:12 +02:00
|
|
|
ftp://ftp.twics.co.jp/pub/vim/unix/
|
2006-05-21 15:32:27 +02:00
|
|
|
SITES.vim-${VIM_VERSION}-lang.tar.gz= ftp://ftp.vim.org/pub/vim/extra/
|
2001-10-09 12:11:33 +02:00
|
|
|
DIST_SUBDIR= vim
|
2001-10-04 12:18:11 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-12-21 14:20:32 +01:00
|
|
|
|
2006-05-21 15:32:27 +02:00
|
|
|
PATCH_SITES= ftp://ftp.vim.org/pub/editors/vim/patches/${VIM_VERSION:Q}/
|
2006-08-31 20:44:36 +02:00
|
|
|
PATCH_SITES+= ftp://ftp.fu-berlin.de/misc/editors/vim/patches/${VIM_VERSION:Q}/
|
2006-05-21 15:32:27 +02:00
|
|
|
PATCHFILES+= 7.0.001 7.0.002 7.0.003 7.0.004 7.0.007 7.0.008 7.0.009
|
|
|
|
PATCHFILES+= 7.0.010 7.0.011 7.0.012 7.0.013 7.0.014 7.0.015 7.0.016
|
2006-07-02 19:05:14 +02:00
|
|
|
PATCHFILES+= 7.0.017 7.0.018 7.0.019 7.0.020 7.0.021 7.0.022 7.0.023
|
|
|
|
PATCHFILES+= 7.0.024 7.0.025 7.0.026 7.0.029 7.0.030 7.0.031 7.0.033
|
2006-07-25 08:20:53 +02:00
|
|
|
PATCHFILES+= 7.0.034 7.0.035 7.0.036 7.0.037 7.0.038 7.0.039 7.0.040
|
2006-08-31 20:44:36 +02:00
|
|
|
PATCHFILES+= 7.0.041 7.0.042 7.0.043 7.0.044 7.0.046 7.0.047 7.0.048
|
|
|
|
PATCHFILES+= 7.0.049 7.0.050 7.0.051 7.0.052 7.0.053 7.0.054 7.0.055
|
|
|
|
PATCHFILES+= 7.0.056 7.0.058 7.0.059 7.0.060 7.0.061 7.0.062 7.0.063
|
|
|
|
PATCHFILES+= 7.0.064 7.0.066 7.0.067 7.0.068 7.0.069 7.0.070 7.0.071
|
|
|
|
PATCHFILES+= 7.0.072 7.0.073 7.0.075 7.0.076
|
2002-01-09 14:40:17 +01:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= martti@NetBSD.org
|
2001-10-04 12:18:11 +02:00
|
|
|
HOMEPAGE= http://www.vim.org/
|
2001-08-06 19:44:44 +02:00
|
|
|
|
2002-10-08 02:20:12 +02:00
|
|
|
CONFLICTS+= vim-kde-[0-9]*
|
|
|
|
|
2005-05-30 16:18:14 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${VIM_SUBDIR}/src
|
1999-12-21 14:20:32 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-10-04 14:38:00 +02:00
|
|
|
|
2006-03-02 11:41:41 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-03-25 09:04:02 +01:00
|
|
|
# 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}
|
2005-01-05 12:03:44 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-multibyte
|
2002-03-25 09:04:02 +01:00
|
|
|
|
2006-03-02 11:41:41 +01:00
|
|
|
PATCH_ARGS= -d ${WRKDIR:Q}/${VIM_SUBDIR:Q} --forward --quiet \
|
2006-05-21 15:32:27 +02:00
|
|
|
-E ${PATCH_STRIP:Q}
|
2006-03-02 11:41:41 +01:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKDIR:Q}/${VIM_SUBDIR:Q} --forward --quiet \
|
2006-05-21 15:32:27 +02:00
|
|
|
-E ${PATCH_DIST_STRIP:Q}
|
2006-07-18 12:27:16 +02:00
|
|
|
PATCHDIR= ${.CURDIR}/../../editors/vim-share/patches
|
2005-01-27 11:37:01 +01:00
|
|
|
DISTINFO_FILE?= ${.CURDIR}/../../editors/vim-share/distinfo
|
2005-01-25 14:48:54 +01:00
|
|
|
|
|
|
|
.if empty(PKGNAME:Mvim-share*)
|
2006-03-02 12:32:34 +01:00
|
|
|
ALTERNATIVES_SRC= ${.CURDIR:Q}/../../editors/vim-share/ALTERNATIVES
|
2005-01-25 14:48:54 +01:00
|
|
|
.else
|
|
|
|
ALTERNATIVES_SRC=
|
|
|
|
.endif
|
2006-02-03 11:49:53 +01:00
|
|
|
|
|
|
|
PKG_SUPPORTED_OPTIONS+= cscope
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mcscope)
|
|
|
|
DEPENDS+= cscope-[0-9]*:../../devel/cscope
|
|
|
|
CONFIGURE_ARGS+= --enable-cscope
|
|
|
|
.endif
|