aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2006-12-12 03:36:41 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2006-12-12 03:36:41 +0000
commit37dca5bd7243c8de2048f0a727bc1be85b47d89b (patch)
treefba92ecd6f60c002904eb5d7d7c373433381ee1d /editors
parentd69c90ced20a3e34b97bde04ab2f34fe7d109a82 (diff)
downloadports-37dca5bd7243c8de2048f0a727bc1be85b47d89b.tar.gz
ports-37dca5bd7243c8de2048f0a727bc1be85b47d89b.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile14
-rw-r--r--editors/vim/distinfo3
2 files changed, 17 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 ' \
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