diff options
| author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-23 09:47:48 +0300 |
|---|---|---|
| committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-23 09:47:48 +0300 |
| commit | e8a1c1238359d2cb1885bfc4faefb75b390452cc (patch) | |
| tree | fcd0fa0842f6ccd7f59f09591c257b42ff15e40a /app-vim/haskellmode/haskellmode-20101118-r2.ebuild | |
| parent | 28f8320163301eb4d1893910089b9842ccc4c619 (diff) | |
| download | gentoo-e8a1c1238359d2cb1885bfc4faefb75b390452cc.tar.gz gentoo-e8a1c1238359d2cb1885bfc4faefb75b390452cc.tar.bz2 gentoo-e8a1c1238359d2cb1885bfc4faefb75b390452cc.zip | |
app-vim/haskellmode: EAPI 6 -> 8
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-vim/haskellmode/haskellmode-20101118-r2.ebuild')
| -rw-r--r-- | app-vim/haskellmode/haskellmode-20101118-r2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-vim/haskellmode/haskellmode-20101118-r2.ebuild b/app-vim/haskellmode/haskellmode-20101118-r2.ebuild new file mode 100644 index 000000000000..00a643950c3c --- /dev/null +++ b/app-vim/haskellmode/haskellmode-20101118-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +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." +} |
