summaryrefslogtreecommitdiff
blob: a0a0ed4ad1bc7d064550ad110d04bd2437649800 (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
31
32
33
34
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/vimirc/vimirc-0.8.5-r1.ebuild,v 1.6 2005/02/22 23:12:36 agriffis Exp $

inherit vim-plugin

DESCRIPTION="vim plugin: IRC Client"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=931"
LICENSE="vim"
KEYWORDS="x86 sparc mips ~ppc amd64 alpha ia64"
IUSE=""

VIM_PLUGIN_HELPFILES="vimirc.txt"

# requires 6.2.412 at runtime. it's not too keen upon console vim, so we'll
# just ask for gvim.
RDEPEND=">=app-editors/gvim-6.2-r8"

src_unpack() {
	unpack ${A}
	cd ${S}
	# Documentation is supplied in the source file.
	mkdir doc
	sed -e '/^[^"]/,9999d' -e 's~^" \?~~' -e '1s/$/ *vimirc.txt*/' \
		plugin/vimirc.vim > doc/vimirc.txt
}

pkg_postinst() {
	vim-plugin_pkg_postinst
	einfo " "
	einfo "This plugin requires a Vim with perl support enabled. This is"
	einfo "controlled by the 'perl' USE flag."
	einfo " "
}