summaryrefslogtreecommitdiff
blob: 8676b43497922f21e3091281988af397d0a653f8 (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-2004 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.7 2004/04/17 19:06:50 aliz Exp $

inherit latex-package

IUSE="doc"

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 ~amd64"

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
		insinto /usr/share/doc/${P}/manual
		doins doc/*.{tex,pdf,cfg}
	fi

}