| 1 |
josejx |
1.7 |
# Copyright 1999-2009 Gentoo Foundation |
| 2 |
aballier |
1.1 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
jer |
1.12 |
# $Header: /var/cvsroot/gentoo-x86/dev-tex/culmus-latex/culmus-latex-0.7.ebuild,v 1.11 2009/08/02 10:34:04 armin76 Exp $ |
| 4 |
aballier |
1.1 |
|
| 5 |
|
|
inherit latex-package |
| 6 |
|
|
|
| 7 |
|
|
DESCRIPTION="Culmus fonts support for latex" |
| 8 |
|
|
HOMEPAGE="http://ivritex.sourceforge.net/" |
| 9 |
|
|
SRC_URI="mirror://sourceforge/ivritex/${P}_src.tar.gz" |
| 10 |
|
|
|
| 11 |
|
|
LICENSE="GPL-2" |
| 12 |
|
|
SLOT="0" |
| 13 |
jer |
1.12 |
KEYWORDS="alpha ~amd64 hppa ia64 ppc ~ppc64 sparc x86" |
| 14 |
aballier |
1.1 |
IUSE="examples" |
| 15 |
|
|
|
| 16 |
aballier |
1.2 |
RDEPEND="virtual/latex-base" |
| 17 |
|
|
DEPEND="${RDEPEND} |
| 18 |
|
|
media-fonts/culmus |
| 19 |
|
|
app-text/t1utils" |
| 20 |
aballier |
1.1 |
|
| 21 |
|
|
src_compile() { |
| 22 |
|
|
emake CULMUSDIR=/usr/share/fonts/culmus/ || die "failed to build fonts" |
| 23 |
|
|
echo "Map culmus.map" > ${PN}.cfg |
| 24 |
|
|
} |
| 25 |
|
|
|
| 26 |
|
|
src_install() { |
| 27 |
|
|
emake CULMUSDIR=/usr/share/fonts/culmus/ DESTDIR="${D}" TEXMFROOT=/usr/share/texmf-site pkginstall || die "failed to install" |
| 28 |
|
|
insinto /etc/texmf/updmap.d |
| 29 |
|
|
doins ${PN}.cfg |
| 30 |
|
|
dodoc README |
| 31 |
|
|
if use examples ; then |
| 32 |
|
|
insinto /usr/share/doc/${PF}/examples |
| 33 |
|
|
doins examples/* |
| 34 |
|
|
insinto /usr/share/doc/${PF}/examples/hiriq |
| 35 |
|
|
doins examples/hiriq/* |
| 36 |
|
|
fi |
| 37 |
|
|
} |