1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-vim/info/info-1.7-r1.ebuild,v 1.13 2005/02/18 20:03:31 slarti Exp $ |
4 |
|
5 |
inherit vim-plugin |
6 |
|
7 |
DESCRIPTION="vim plugin: GNU info documentation browser" |
8 |
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=21" |
9 |
LICENSE="BSD" |
10 |
KEYWORDS="x86 alpha sparc ia64 ppc s390 amd64" |
11 |
IUSE="" |
12 |
DEPEND="${DEPEND} >=sys-apps/sed-4" |
13 |
|
14 |
VIM_PLUGIN_HELPTEXT="This plugin adds the :Info command." |
15 |
|
16 |
src_unpack() { |
17 |
unpack ${A} |
18 |
cd ${P}/plugin |
19 |
|
20 |
# The 'h' key is a bad choice for help. 'H' would have been a |
21 |
# much better choice. I sent this suggestion to the maintainer, |
22 |
# but no reply. |
23 |
sed -i 's/\(noremap <buffer> \)h/\1H/' info.vim || die 'sed failed' |
24 |
} |