blob: 80a42f4e20a740136c111a689a1083fd0f0e8fbf (
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
|
# Copyright 1999-2017 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="http://www.vim.org/scripts/script.php?script_id=556"
SRC_URI="https://github.com/WolfgangMehner/perl-support/archive/version-${PV}.tar.gz -> ${P}.tar.gz"
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"
S="${WORKDIR}/${PN}-version-${PV}"
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
}
|