summaryrefslogtreecommitdiff
blob: 52e1645009ff3582f9c210b7a86b830672a182ce (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.3 2005/01/01 16:55:42 eradicator 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"
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 " "
}