/[gentoo-x86]/dev-tex/texpower/texpower-0.2.ebuild
Gentoo

Contents of /dev-tex/texpower/texpower-0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Aug 25 17:39:39 2007 UTC (12 years, 6 months ago) by beandog
Branch: MAIN
Changes since 1.3: +3 -3 lines
amd64 stable
(Portage version: 2.1.2.12)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tex/texpower/texpower-0.2.ebuild,v 1.3 2006/08/11 12:15:56 fmccor Exp $
4
5 inherit latex-package
6
7 IUSE="doc"
8 MY_P="${P/./-}"
9
10 DESCRIPTION="A bundle of style and class files for creating dynamic online presentations."
11 SRC_URI="mirror://sourceforge/texpower/${MY_P}.tar.gz"
12 HOMEPAGE="http://texpower.sourceforge.net/"
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc sparc x86"
16
17 S="${WORKDIR}/${MY_P}"
18
19 src_compile() {
20
21 latex-package_src_compile
22
23 cd tpslifonts
24 latex-package_src_compile
25 cp tpslifonts.sty ../ || die
26 cd ../
27
28 if use doc
29 then
30 for file in FAQ-display.tex FAQ-printout.tex fulldemo.tex
31 do
32 einfo "Making documentation: ${file}"
33 VARTEXFONTS=${T}/fonts texi2pdf -q -c \
34 --language=latex ${file} &> /dev/null
35 done
36 fi
37 }
38
39 src_install() {
40
41 latex-package_src_doinstall styles pdf
42
43 insinto /usr/share/texmf/tex/latex/${PN}/contrib
44 doins contrib/config.landscapeplus contrib/tpmultiinc.tar || die
45
46 dodoc 00readme.txt 01install.txt || die
47 newdoc tpslifonts/00readme.txt 00readme-tpslifonts.txt || die
48 newdoc contrib/00readme.txt 00readme-contrib.txt
49 }

  ViewVC Help
Powered by ViewVC 1.1.20