ports/106532: [patch] editors/vim Language support
José G. Juanino
jjuanino at gmail.com
Sat Dec 9 14:30:23 UTC 2006
>Number: 106532
>Category: ports
>Synopsis: [patch] editors/vim Language support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 09 14:30:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: José G. Juanino
>Release: 6.1-RELEASE-p10
>Organization:
>Environment:
FreeBSD gauss.sanabria.es 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #1: Sat Dec 2 17:30:16 CET 2006 root at gauss.sanabria.es:/export/freebsd/obj/export/freebsd/src/sys/MK2006Dic02 i386
>Description:
Hi
I send a patch in order to support in vim the several languages contained in vim-7.0-lang.tar.gz
Do the following to apply the patch:
$ cd /usr/ports/editors/vim
$ patch -p1 < patch-lang.diff
Regards
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -uNr vim.orig/Makefile vim/Makefile
--- vim.orig/Makefile Sun Nov 26 06:37:07 2006
+++ vim/Makefile Sat Dec 9 14:34:04 2006
@@ -137,6 +137,21 @@
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 -uNr vim.orig/distinfo vim/distinfo
--- vim.orig/distinfo Sun Nov 26 06:35:21 2006
+++ vim/distinfo Sat Dec 9 11:52:22 2006
@@ -1,5 +1,7 @@
MD5 (vim/vim-7.0.tar.bz2) = 4ca69757678272f718b1041c810d82d8
SHA256 (vim/vim-7.0.tar.bz2) = 494e27bd169d333917c0febcace466f89d119f71961e8959022fc6eab89764fc
+MD5 (vim/vim-7.0-lang.tar.gz) = 6d43efaff570b5c86e76b833ea0c6a04
+SHA256 (vim/vim-7.0-lang.tar.gz) = 12b45053933ec69c66fb3488d652c720065d4f138e6d8be4d08eec592ec4a61f
SIZE (vim/vim-7.0.tar.bz2) = 6575205
MD5 (vim/7.0.001) = f0a2d3a337ae83e9e2d95156a78325bb
SHA256 (vim/7.0.001) = 4154ba1a7bea845fe39fa028f15ff5ee4313d8e6784a5041e319108fda3cb282
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list