summaryrefslogtreecommitdiff
blob: a9c492e232db897eb02865cc59d05dc8bcf4d477 (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/xkeyval/xkeyval-2.5f.ebuild,v 1.3 2007/10/19 16:39:16 nixnut Exp $

inherit latex-package

DESCRIPTION="xkeyval is an extension of the keyval package."
HOMEPAGE="http://www.ctan.org/tex-archive/help/Catalogue/entries/xkeyval.html"
SRC_URI="ftp://tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.zip"

LICENSE="LPPL-1.2"
SLOT="0"
KEYWORDS="~amd64 ppc ~ppc-macos x86"
IUSE="doc"
DEPEND=">=app-text/tetex-3.0"

TEXMF="/usr/share/texmf-site"
S=${WORKDIR}/${PN}

src_install() {
	insinto ${TEXMF}/tex/generic/${PN}
	doins ${S}/run/{keyval,pst-xkey,xkeyval,xkvtxhdr}.tex
	insinto ${TEXMF}/tex/latex/${PN}
	doins ${S}/run/{pst-xkey,xkeyval,xkvview,xkvltxp}.sty

	cd ${S}
	dodoc README

	if use doc ; then
		cd ${S}/doc
		latex-package_src_doinstall doc
	fi
}