Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 273873 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-fonts/sil-charis/sil-charis-4.104.ebuild (-2 / +12 lines)
Lines 2-19 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/sil-charis-4.104.ebuild,v 1.1 2008/05/19 01:25:58 dirtyepic Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/sil-charis-4.104.ebuild,v 1.1 2008/05/19 01:25:58 dirtyepic Exp $
4
4
5
EAPI=2
5
inherit font
6
inherit font
6
7
7
MY_PN="CharisSIL"
8
MY_PN="CharisSIL"
8
9
9
DESCRIPTION="SIL Charis - SIL fonts for Roman and Cyrillic languages"
10
DESCRIPTION="SIL Charis - SIL fonts for Roman and Cyrillic languages"
10
HOMEPAGE="http://scripts.sil.org/CharisSILfont"
11
HOMEPAGE="http://scripts.sil.org/CharisSILfont"
11
SRC_URI="mirror://gentoo/${MY_PN}${PV}.zip"
12
SRC_URI="mirror://gentoo/${MY_PN}${PV}.zip
13
	compact? ( mirror://gentoo/${MY_PN}Compact${PV}.zip )"
12
14
13
LICENSE="OFL"
15
LICENSE="OFL"
14
SLOT="0"
16
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
16
IUSE="doc"
18
IUSE="doc +compact"
17
19
18
DEPEND="app-arch/unzip"
20
DEPEND="app-arch/unzip"
19
21
Lines 22-27 Link Here
22
FONT_SUFFIX="ttf"
24
FONT_SUFFIX="ttf"
23
DOCS="OFL-FAQ.txt"
25
DOCS="OFL-FAQ.txt"
24
26
27
src_unpack() {
28
	unpack ${A}
29
	if use compact; then
30
		unpack "${MY_PN}Compact${PV}.zip" || die "unpack ${MY_PN}Compact${PV}.zip failed"
31
		mv "${MY_PN}Compact/"*.ttf "${MY_PN}" || die "mv ${WORKDIR}/${MY_PN}Compact/*.ttf ${WORKDIR}/${MY_PN} failed"
32
	fi
33
}
34
25
src_install() {
35
src_install() {
26
	font_src_install
36
	font_src_install
27
	use doc && dodoc *.pdf
37
	use doc && dodoc *.pdf

Return to bug 273873