diff options
Diffstat (limited to 'editors/vim/Makefile')
| -rw-r--r-- | editors/vim/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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 ' \ |
