blob: 2824d28d846eb09c842ec61e58bd1339ebf1c128 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/showmarks/showmarks-2.2.ebuild,v 1.4 2004/09/19 19:50:19 kloeri Exp $
inherit vim-plugin
DESCRIPTION="vim plugin: show location marks visually"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=152"
LICENSE="public-domain"
KEYWORDS="alpha sparc x86 ~ia64 ~ppc ~amd64 mips"
IUSE=""
VIM_PLUGIN_HELPFILES="showmarks.txt"
function src_unpack() {
unpack ${A}
mkdir ${S}/doc || die "can't make doc dir"
# This plugin uses an 'automatic HelpExtractor' variant. This causes
# problems for us during the unmerge. Fortunately, sed can fix this
# for us.
sed -e '1,/^" HelpExtractorDoc:$/d' \
${S}/plugin/showmarks.vim > ${S}/doc/showmarks.txt \
|| die "help extraction failed"
sed -i -e '/^" HelpExtractor:$/,$d' ${S}/plugin/showmarks.vim \
|| die "help extract remove failed"
}
|