diff options
Diffstat (limited to 'app-vim/showmarks/showmarks-2.2.ebuild')
-rw-r--r-- | app-vim/showmarks/showmarks-2.2.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-vim/showmarks/showmarks-2.2.ebuild b/app-vim/showmarks/showmarks-2.2.ebuild new file mode 100644 index 000000000000..86750db452bc --- /dev/null +++ b/app-vim/showmarks/showmarks-2.2.ebuild @@ -0,0 +1,26 @@ +# 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.1 2004/08/20 23:11:38 ciaranm 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="" + +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" +} |