blob: fcd505c37f306014bdd1786fa230ca16bd0c3191 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2007 Gentoo Foundation
# 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 $
inherit latex-package elisp-common
DESCRIPTION="LaTeX class for creating presentations using a video projector."
HOMEPAGE="http://latex-beamer.sourceforge.net/"
SRC_URI="mirror://sourceforge/latex-beamer/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc emacs lyx"
DEPEND="emacs? ( app-emacs/auctex )
lyx? ( app-office/lyx )
>=app-text/tetex-3.0"
src_compile() {
if use emacs ; then
cd emacs
elisp-comp beamer.el || die
fi
}
src_install() {
insinto /usr/share/texmf-site/tex/latex/beamer
doins -r base extensions themes || die
insinto /usr/share/texmf-site/tex/latex/beamer/emulation
doins emulation/*.sty || die
if use lyx ; then
insinto /usr/share/lyx/layouts
doins lyx/layouts/beamer.layout || die
insinto /usr/share/lyx/examples
doins lyx/examples/* || die
doins solutions/*/*.lyx || die
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
if use doc ; then
insinto /usr/share/doc/${PF}
doins doc/* || die
insinto /usr/share/doc/${PF}
doins -r examples emulation/examples solutions || die
fi
}
|