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

Contents of /dev-tex/texpower/texpower-0.1b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Aug 28 13:52:08 2005 UTC (14 years, 5 months ago) by cryos
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable on amd64.
(Portage version: 2.0.51.22-r2)

1 usata 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 cryos 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-tex/texpower/texpower-0.1b.ebuild,v 1.4 2005/06/17 21:08:34 hansmi Exp $
4 usata 1.1
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 cryos 1.5 KEYWORDS="amd64 ppc sparc x86"
16 usata 1.1
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