summaryrefslogtreecommitdiff
path: root/app-vim/haskellmode
diff options
context:
space:
mode:
Diffstat (limited to 'app-vim/haskellmode')
-rw-r--r--app-vim/haskellmode/Manifest3
-rw-r--r--app-vim/haskellmode/haskellmode-20101118-r1.ebuild50
-rw-r--r--app-vim/haskellmode/metadata.xml8
3 files changed, 61 insertions, 0 deletions
diff --git a/app-vim/haskellmode/Manifest b/app-vim/haskellmode/Manifest
new file mode 100644
index 000000000000..c5f2a9ccb219
--- /dev/null
+++ b/app-vim/haskellmode/Manifest
@@ -0,0 +1,3 @@
+DIST haskellmode-20101118.tar.bz2 21637 BLAKE2B f64278a4d6d892068d1de85b0d19892908a5b841485cde2af419777637db353364882af76a84e406bd01c5f9d8967ef43b44edb5e40ec6b2762aa6d97975045b SHA512 c1882766c08afeda9aea9ddd072e6107f5615ee5a0916d029170ad38097a2fa7dce72bc2429618ac3889afb8d1de9ab53ddaf5beff45f873f9eb5a57b04bc6aa
+EBUILD haskellmode-20101118-r1.ebuild 1445 BLAKE2B 52e43c4142976322d081749290e635adc845dcaa6028904cbbcb8208542d7369d3abcb2188f037c7be98cfe4249ec49b5ea7e93d872e542ace97cecc27d03bfa SHA512 3861b96202de4c74315ecec6d9aa3bf32d67995db51898a74e4573427781964c4930b01f647f0ff10da1ceece70aa351b537c2c8d575ef106ec95896ee37f9be
+MISC metadata.xml 249 BLAKE2B 7ae6eac3ca23edbcbaa6aee682bb4aec155e3166f169eef8e4400e59fa56113ecc3593680d55cc57f08a4a718963dd3d0bb804bd1e8771ed60a4bebaae9db281 SHA512 4051dd059d975d2e1799125f7defbf5a62a168241d8b83d83710592efd60808800951c4fd6da1294044d7e7ec6b757b8d50593fd076696f826dec761e99645c7
diff --git a/app-vim/haskellmode/haskellmode-20101118-r1.ebuild b/app-vim/haskellmode/haskellmode-20101118-r1.ebuild
new file mode 100644
index 000000000000..00f065cc2c85
--- /dev/null
+++ b/app-vim/haskellmode/haskellmode-20101118-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIM_PLUGIN_VIM_VERSION="7.1"
+
+inherit vim-plugin
+
+DESCRIPTION="vim plugin: Provides IDE-like features for Haskell development"
+HOMEPAGE="http://projects.haskell.org/haskellmode-vim"
+SRC_URI="http://code.haskell.org/~wwolff/haskellmode/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT=0
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ ${RDEPEND}"
+
+RDEPEND="
+ dev-lang/ghc[doc]
+ net-misc/wget"
+
+VIM_PLUGIN_HELPFILES="haskellmode"
+VIM_PLUGIN_MESSAGES="filetype"
+
+pkg_postinst() {
+ vim-plugin_pkg_postinst
+
+ elog "You must set 'g:haddock_browser' to the path of your preferred browser, and"
+ elog "depending on your setup you may also want to change the default value of"
+ elog "'g:haddock_browser_callformat' (see ':help g:haddock_browser_callformat' for"
+ elog "full usage info). You can persist these settings in your vimrc file, for"
+ elog "example:"
+ elog
+ elog " let g:haddock_browser=\"/usr/bin/elinks\""
+ elog " let g:haddock_browser_callformat=\"%s file://%s >/dev/null 2>&1 &\""
+ elog
+ elog "To enable GHC compiler integration, also add the following to your vimrc:"
+ elog
+ elog " au BufEnter *.hs compiler ghc"
+ elog
+ elog "The first time you load haskellmode, you must generate a Haddock index. Do"
+ elog "this with the command:"
+ elog
+ elog " :ExportDocIndex"
+ elog
+ elog "Consult ${HOMEPAGE} for further setup and usage information."
+}
diff --git a/app-vim/haskellmode/metadata.xml b/app-vim/haskellmode/metadata.xml
new file mode 100644
index 000000000000..5c000c763084
--- /dev/null
+++ b/app-vim/haskellmode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vim@gentoo.org</email>
+ <name>Gentoo Vim Project</name>
+ </maintainer>
+</pkgmetadata>