summaryrefslogtreecommitdiff
blob: 69485342dab55808dadc6500cd79b524e12834d4 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/texpower/texpower-0.0.9d.ebuild,v 1.3 2003/09/23 01:21:57 pylon Exp $

inherit latex-package

IUSE="doc"

S=${WORKDIR}/${P}
TD=${PN}-doc-pdf-${PV}

DESCRIPTION="A bundle of style and class files for creating dynamic online presentations."
SRC_URI="mirror://sourceforge/texpower/${P}.tar.gz
	doc? ( mirror://sourceforge/texpower/${TD}.tar.gz )"
HOMEPAGE="http://texpower.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"

src_install() {
	latex-package_src_install
	doins *.cfg

	insinto /usr/share/texmf/tex/latex/${PN}/addons
	doins addons/*.sty

	insinto /usr/share/texmf/tex/latex/${PN}/contrib
	doins contrib/config.landscapeplus contrib/tpmultiinc.tar

	dodoc 00readme.txt 01install.txt 0changes.txt
	newdoc addons/00readme.txt 00readme-addons.txt
	newdoc contrib/00readme.txt 00readme-contrib.txt

	if use doc; then
		S=${WORKDIR}/${P}/doc
		latex-package_src_install
		dodoc *.tex
	fi
}