blob: 460f31def1e84d23bab6dea9996c36cc095f1607 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/vimcommander/vimcommander-1.52.ebuild,v 1.1 2003/11/20 03:33:37 ciaranm Exp $
inherit vim-plugin
DESCRIPTION="vim plugin: Total Commander style file explorer"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=808"
LICENSE="GPL-2"
KEYWORDS="~alpha ~sparc ~x86"
function src_unpack() {
unpack ${A}
mkdir ${S}/doc || die "can't make doc dir"
# This plugin uses an 'automatic documentation install' trick. This
# causes problems for us during the unmerge. Fortunately, sed can fix
# this for us.
sed -e '1,/^=== START_DOC$/d' \
-e '/^=== END_DOC/,$d' \
-e "s/#version#/v${PV}/" \
${S}/plugin/vimcommander.vim > ${S}/doc/vimcommander.txt \
|| die "help extraction failed"
echo -ne "\n\n vim:tw=78:ts=8:ft=help:norl:" >> ${S}/doc/vimcommander.txt
sed -i -e 's/" \(let b:vimcommander_install_doc=\)1/\10/' \
${S}/plugin/vimcommander.vim \
|| die "help extract disable failed"
}
|