You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-vim/perl-support/perl-support-5.3.2.ebuild

29 lines
681 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit vim-plugin
DESCRIPTION="vim plugin: Perl-IDE - Write and run Perl scripts using menus and hotkeys"
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=556"
LICENSE="GPL-2 GPL-2+"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
VIM_PLUGIN_HELPFILES="perlsupport.txt"
RDEPEND="
dev-perl/Perl-Tags
dev-perl/Perl-Critic"
src_prepare() {
# Don't set tabstop and shiftwidth
sed -i '/=4/s/^/"/' ftplugin/perl.vim || die
}
src_install() {
dodoc ${PN}/doc/{ChangeLog,perl-hot-keys.pdf}
rm -r ${PN}/doc/ || die
vim-plugin_src_install
}