/[gentoo-x86]/dev-tex/culmus-latex/culmus-latex-0.7.ebuild
Gentoo

Contents of /dev-tex/culmus-latex/culmus-latex-0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Tue Jul 14 21:41:06 2009 UTC (5 years, 1 month ago) by fauli
Branch: MAIN
Changes since 1.8: +2 -2 lines
stable x86, bug 276990
(Portage version: 2.1.6.13/cvs/Linux i686)

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 fauli 1.9 # $Header: /var/cvsroot/gentoo-x86/dev-tex/culmus-latex/culmus-latex-0.7.ebuild,v 1.8 2009/07/14 12:25:10 fmccor 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 fauli 1.9 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     }

  ViewVC Help
Powered by ViewVC 1.1.20