/[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.2 - (hide annotations) (download)
Sat May 21 21:42:37 2005 UTC (14 years, 9 months ago) by usata
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable on x86.
(Portage version: 2.0.51.19)

1 usata 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 usata 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-tex/texpower/texpower-0.1b.ebuild,v 1.1 2005/04/03 07:53:47 usata 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 usata 1.2 KEYWORDS="x86 ~ppc ~amd64 ~sparc"
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