summaryrefslogtreecommitdiff
blob: ced02339d291428fc23d1662f0ad4285a65cd58c (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-gentium/sil-gentium-1.0.2.ebuild,v 1.5 2009/04/06 17:10:43 armin76 Exp $

EAPI="2"
inherit font versionator

SIL_PV=${PV//.}
MY_PV=$(get_version_component_range 1-2)
MY_P="Gentium Basic ${MY_PV}"

DESCRIPTION="SIL Gentium Unicode font for Latin and Greek languages."
HOMEPAGE="http://scripts.sil.org/gentium"
SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GentiumBasic_${SIL_PV}&filename=GentiumBasic_${SIL_PV}.zip -> ${P}.zip"

LICENSE="OFL"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""

DEPEND="|| ( app-arch/unzip app-arch/zip )"
RDEPEND=""

DOCS="FONTLOG.txt GENTIUM-FAQ.txt"
FONT_SUFFIX="ttf"

S=${WORKDIR}/${MY_P}
FONT_S=${S}