You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
942 B
29 lines
942 B
13 years ago
|
# Copyright 1999-2010 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.9 2010/10/07 03:52:35 leio 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 amd64 ia64 ~mips ppc sparc x86"
|
||
|
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"
|
||
|
}
|