forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oesch-20080712.ebuild
37 lines (29 loc) · 912 Bytes
/
oesch-20080712.ebuild
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
34
35
36
37
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=0
inherit latex-package
DESCRIPTION="Metafont font used in Austrian schools for hand writing"
HOMEPAGE="http://www.ctan.org/tex-archive/fonts/oesch/"
# taken from http://www.ctan.org/tex-archive/fonts/oesch.zip
SRC_URI="mirror://gentoo/${P}.zip"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86-fbsd"
IUSE="examples"
RDEPEND="!<dev-texlive/texlive-fontsextra-2007-r1"
DEPEND="${RDEPEND}
dev-texlive/texlive-langgerman
app-arch/unzip"
TEXMF="/usr/share/texmf-site"
S=${WORKDIR}/${PN}
src_install() {
export VARTEXFONTS="${T}/fonts"
latex-package_src_install
insinto "${TEXMF}/fonts/source/public"
doins *.mf || die "failed to install metafont sources"
dodoc README LIESMICH
if use examples ; then
insinto /usr/share/doc/${PF}
doins *.tex || die "failed to install examples"
fi
}