From 29a435ab4c6630a81b988f684050ac27c60078fd Mon Sep 17 00:00:00 2001 From: obrien Date: Tue, 12 Dec 2006 03:36:41 +0000 Subject: If "WITH_LANG" is defined, install the several languages contained in Vim "lang" distribution. PR: 106532 Submitted by: Jose G. Juanino --- editors/vim/Makefile | 14 ++++++++++++++ editors/vim/distinfo | 3 +++ 2 files changed, 17 insertions(+) (limited to 'editors') diff --git a/editors/vim/Makefile b/editors/vim/Makefile index 5ea2dab0ce02..6ce9d805f2fb 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -141,6 +141,20 @@ MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable USE_ICONV= yes .endif +.if defined(WITH_LANG) +LANG_FILE= ${DISTNAME}-lang.tar.gz +DISTFILES+= ${LANG_FILE}:lang_file +MASTER_SITES+= ${MASTER_SITE_VIM:S|unix/|extra/:lang_file|} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +USE_GETTEXT= yes +.endif + +post-extract: +.if defined(WITH_LANG) + @${ECHO_MSG} ">>> extracting ${LANG_FILE} ..." + @${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LANG_FILE} +.endif + pre-configure: @(cd ${WRKSRC} ; ${MAKE} distclean) @${REINPLACE_CMD} -e ' \ diff --git a/editors/vim/distinfo b/editors/vim/distinfo index 010d58154505..ab1f62bec821 100644 --- a/editors/vim/distinfo +++ b/editors/vim/distinfo @@ -1,6 +1,9 @@ MD5 (vim/vim-7.0.tar.bz2) = 4ca69757678272f718b1041c810d82d8 SHA256 (vim/vim-7.0.tar.bz2) = 494e27bd169d333917c0febcace466f89d119f71961e8959022fc6eab89764fc SIZE (vim/vim-7.0.tar.bz2) = 6575205 +MD5 (vim/vim-7.0-lang.tar.gz) = 6d43efaff570b5c86e76b833ea0c6a04 +SHA256 (vim/vim-7.0-lang.tar.gz) = 12b45053933ec69c66fb3488d652c720065d4f138e6d8be4d08eec592ec4a61f +SIZE (vim/vim-7.0-lang.tar.gz) = 1180240 MD5 (vim/7.0.001) = f0a2d3a337ae83e9e2d95156a78325bb SHA256 (vim/7.0.001) = 4154ba1a7bea845fe39fa028f15ff5ee4313d8e6784a5041e319108fda3cb282 SIZE (vim/7.0.001) = 1627 -- cgit