diff options
Diffstat (limited to 'dev-tex/culmus-latex/culmus-latex-0.7.ebuild')
-rw-r--r-- | dev-tex/culmus-latex/culmus-latex-0.7.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-tex/culmus-latex/culmus-latex-0.7.ebuild b/dev-tex/culmus-latex/culmus-latex-0.7.ebuild new file mode 100644 index 000000000000..d3e14ebb6207 --- /dev/null +++ b/dev-tex/culmus-latex/culmus-latex-0.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" +inherit latex-package + +DESCRIPTION="Culmus fonts support for latex" +HOMEPAGE="http://ivritex.sourceforge.net/" +SRC_URI="mirror://sourceforge/ivritex/${P}_src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +IUSE="examples" + +RDEPEND="virtual/latex-base" +DEPEND="${RDEPEND} + || ( >=media-fonts/culmus-0.110[fancy] <media-fonts/culmus-0.110 ) + app-text/t1utils" + +src_compile() { + emake CULMUSDIR=/usr/share/fonts/culmus/ || die "failed to build fonts" + echo "Map culmus.map" > ${PN}.cfg +} + +src_install() { + emake CULMUSDIR=/usr/share/fonts/culmus/ DESTDIR="${D}" TEXMFROOT=/usr/share/texmf-site pkginstall || die "failed to install" + insinto /etc/texmf/updmap.d + doins ${PN}.cfg + dodoc README + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + insinto /usr/share/doc/${PF}/examples/hiriq + doins examples/hiriq/* + fi +} |