# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-vim/latexsuite/latexsuite-1.5.ebuild,v 1.17 2007/01/23 16:35:46 genone Exp $ inherit vim-plugin DESCRIPTION="vim plugin: Latex-Suite attempts to provide a comprehensive set of tools to view, edit and compile LaTeX documents in Vim." HOMEPAGE="http://vim-latex.sourceforge.net/" LICENSE="vim" KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86" IUSE="" # We use this tar-ball as it's distributed instead of repackaging it. # The only caveat is that the tarball unpacks into the current # directory instead of including a top-level directory. MY_P="latexSuite-${PV/_/-}" S="${WORKDIR}" SRC_URI="http://vim-latex.sourceforge.net/download/${MY_P}.tar.gz" RDEPEND="virtual/tetex" VIM_PLUGIN_HELPFILES="latex-suite.txt latexhelp.txt imaps.txt" src_install() { into /usr ; dobin ltags ; rm ltags vim-plugin_src_install } pkg_postinst() { vim-plugin_pkg_postinst elog elog "To use the latexSuite plugin add:" elog " filetype plugin on" elog ' set grepprg=grep\ -nH\ $*' elog "to your ~/.vimrc-file" elog }