summaryrefslogtreecommitdiff
blob: d79cf2a5e2f632aeab87504897ceb7f4cc85acee (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/ha-prosper/ha-prosper-4.21.ebuild,v 1.5 2008/09/04 06:45:20 opfer Exp $

inherit latex-package

DESCRIPTION="HA-prosper is a LaTeX class for writing transparencies"
HOMEPAGE="http://stuwww.uvt.nl/~hendri/Downloads/haprosper.html"
# Taken from: ftp://ftp.dante.de/tex-archive/macros/latex/contrib/${PN}.tar.gz
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="LPPL-1.2"
SLOT="0"
KEYWORDS="x86 ~amd64 ppc"
DEPEND=">=dev-tex/prosper-1.5
	|| ( dev-tex/xkeyval >=app-text/tetex-3 >=app-text/ptex-3.1.8 )"
S=${WORKDIR}/${PN}
IUSE=""

src_install(){
	cd "${S}"/Run
	insinto "${TEXMF}"/tex/latex/${PN}/
	doins *.sty *.cfg
	dodir "${TEXMF}"/tex/latex/${PN}/Styles
	for i in `find ./Styles/* -maxdepth 1 -type d`
	do
		dodir "${TEXMF}"/tex/latex/${PN}/$i
		insinto "${TEXMF}"/tex/latex/${PN}/$i/
		doins $i/*
	done
	cd "${S}"
	dodoc README
	dodoc Doc/*.tex Doc/*.tex
}