summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-vim/bnf-syntax')
-rw-r--r--app-vim/bnf-syntax/Manifest1
-rw-r--r--app-vim/bnf-syntax/bnf-syntax-1.2-r1.ebuild21
-rw-r--r--app-vim/bnf-syntax/metadata.xml5
3 files changed, 27 insertions, 0 deletions
diff --git a/app-vim/bnf-syntax/Manifest b/app-vim/bnf-syntax/Manifest
new file mode 100644
index 000000000000..87205e2d329e
--- /dev/null
+++ b/app-vim/bnf-syntax/Manifest
@@ -0,0 +1 @@
+DIST bnf-syntax-1.2.tar.bz2 887 SHA256 f61fdcf8a6797c65f338f22df9634456453c3d72b24a4d98d2320a5c6d12ec65 SHA512 e073866a8dd41bc0ab982e250bf2a803d78916dbdaafabe504a6854f67255fe4ed84a4db426f1cbde77c9b0a059070fda666338c53b6ddcc7e46f04d9f0265d6 WHIRLPOOL 87e96001099eebede18bfa97e876068be0bf089cc408cec066f107c40b0c8464cb1beee458e92d2822596683e8e4617800a9f83da1afd7c5024e715742bc396b
diff --git a/app-vim/bnf-syntax/bnf-syntax-1.2-r1.ebuild b/app-vim/bnf-syntax/bnf-syntax-1.2-r1.ebuild
new file mode 100644
index 000000000000..e9cf11252b4e
--- /dev/null
+++ b/app-vim/bnf-syntax/bnf-syntax-1.2-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # fix hi link to use def, bug #101790.
+ sed -i -e 's,hi link,hi def link,g' syntax/bnf.vim || die "sed failed"
+}
diff --git a/app-vim/bnf-syntax/metadata.xml b/app-vim/bnf-syntax/metadata.xml
new file mode 100644
index 000000000000..d221a8d4b42c
--- /dev/null
+++ b/app-vim/bnf-syntax/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>vim</herd>
+</pkgmetadata>