summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-08-18 11:45:46 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-08-18 11:46:08 +0200
commita2ffa0135319731b75579fd1db5d885d733c7784 (patch)
treeffe8f6f2b2e1da968fee5123d21bf5c95fef9de6 /app-vim
parentapp-vim/cvsmenu: Clean up old. (diff)
downloadgentoo-a2ffa0135319731b75579fd1db5d885d733c7784.tar.gz
gentoo-a2ffa0135319731b75579fd1db5d885d733c7784.tar.bz2
gentoo-a2ffa0135319731b75579fd1db5d885d733c7784.zip
app-vim/bnf-syntax: EAPI 6 bump.
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-vim')
-rw-r--r--app-vim/bnf-syntax/bnf-syntax-1.2-r2.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-vim/bnf-syntax/bnf-syntax-1.2-r2.ebuild b/app-vim/bnf-syntax/bnf-syntax-1.2-r2.ebuild
new file mode 100644
index 000000000000..f125500033c2
--- /dev/null
+++ b/app-vim/bnf-syntax/bnf-syntax-1.2-r2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit vim-plugin
+
+DESCRIPTION="vim plugin: BNF file syntax highlighting"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=250"
+LICENSE="vim.org"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+VIM_PLUGIN_HELPTEXT=\
+"This plugin provides syntax highlighting for BNF files."
+
+src_prepare() {
+ default
+ # fix hi link to use def, bug #101790.
+ sed -i -e 's,hi link,hi def link,g' syntax/bnf.vim || die "sed failed"
+}