blob: bd4d32ddf7e07ba98a1ea0e58fb4f591f9020ca9 [file] [log] [blame]
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/oesch/oesch-20080712.ebuild,v 1.3 2008/07/14 17:04:14 aballier Exp $
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}
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
}