blob: 97067301df1ff4d5499fbfc7bc8cc5053a7ccd06 (
plain)
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
38
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/sil-charis-4.106.ebuild,v 1.6 2009/09/27 09:46:29 volkmar Exp $
EAPI=2
inherit font
MY_PN="CharisSIL"
DESCRIPTION="SIL Charis - SIL fonts for Roman and Cyrillic languages"
HOMEPAGE="http://scripts.sil.org/CharisSILfont"
SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=CharisSIL4.106b.zip&filename=CharisSIL4.106.zip -> CharisSIL4.106.zip
compact? ( http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=CharisSILCompact4.106.zip&filename=CharisSILCompact4.106.zip -> CharisSILCompact4.106.zip )"
LICENSE="OFL"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="doc +compact"
DEPEND="app-arch/unzip"
S="${WORKDIR}/${MY_PN}"
FONT_S="${S}"
FONT_SUFFIX="ttf"
DOCS="OFL-FAQ.txt"
src_unpack() {
unpack ${A}
if use compact; then
mv "${MY_PN}Compact/"*.ttf "${MY_PN}" || die "mv ${WORKDIR}/${MY_PN}Compact/*.ttf ${WORKDIR}/${MY_PN} failed"
fi
}
src_install() {
font_src_install
use doc && dodoc *.pdf
}
|