summaryrefslogtreecommitdiff
blob: e02a93c9d0d1695ed862ddcf99d48a26509e3724 (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.11.ebuild,v 1.3 2005/07/09 16:19:05 swegener 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
}