summaryrefslogtreecommitdiff
blob: 8e73cb3fddf368d83481ab7a60d136a6704e4c23 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/enhancedcommentify/enhancedcommentify-2.1-r3.ebuild,v 1.2 2005/02/12 18:38:52 ka0ttic Exp $

inherit vim-plugin eutils

DESCRIPTION="vim plugin: enhanced comment creation"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=23"
SRC_URI="mirror://gentoo/${P}-r1.tar.bz2"

LICENSE="BSD"
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
IUSE=""

VIM_PLUGIN_HELPFILES="EnhancedCommentify"

DEPEND="${DEPEND} >=sys-apps/sed-4"
# bug #74897
RDEPEND="!app-vim/ctx"

src_unpack() {
	unpack ${A}
	cd ${S}
	# gentooy things, bug #79185
	epatch ${FILESDIR}/${P}-gentooisms.patch
	# add fstab ft support
	sed -i 's/\(xmath\)/\1\\|fstab/' plugin/EnhancedCommentify.vim || \
		die "sed failed"
}