|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/latex-beamer-3.07.ebuild,v 1.4 2007/07/05 11:23:51 pylon Exp $ | # $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/latex-beamer-3.07.ebuild,v 1.4 2007/07/05 11:23:51 pylon Exp $ |
| |
inherit latex-package elisp-common |
inherit latex-package |
| |
DESCRIPTION="LaTeX class for creating presentations using a video projector." | DESCRIPTION="LaTeX class for creating presentations using a video projector." |
HOMEPAGE="http://latex-beamer.sourceforge.net/" | HOMEPAGE="http://latex-beamer.sourceforge.net/" |
|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" | KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
|
IUSE="doc lyx" |
| |
IUSE="doc emacs lyx" |
DEPEND="lyx? ( app-office/lyx ) |
|
|
DEPEND="emacs? ( app-emacs/auctex ) |
|
lyx? ( app-office/lyx ) |
|
>=app-text/tetex-3.0" | >=app-text/tetex-3.0" |
| |
src_compile() { |
|
if use emacs ; then |
|
cd emacs |
|
elisp-comp beamer.el || die |
|
fi |
|
} |
|
|
|
src_install() { | src_install() { |
insinto /usr/share/texmf-site/tex/latex/beamer | insinto /usr/share/texmf-site/tex/latex/beamer |
doins -r base extensions themes || die | doins -r base extensions themes || die |
|
|
doins solutions/*/*.lyx || die | doins solutions/*/*.lyx || die |
fi | fi |
| |
if use emacs ; then |
|
insinto /usr/share/emacs/site-lisp/auctex/style |
|
doins emacs/beamer.el* || die |
|
fi |
|
|
|
dodoc AUTHORS ChangeLog FILES TODO README | dodoc AUTHORS ChangeLog FILES TODO README |
if use doc ; then | if use doc ; then |
insinto /usr/share/doc/${PF} | insinto /usr/share/doc/${PF} |