summaryrefslogtreecommitdiff
blob: d690875c640e463300397c5dd4ba69525f174e01 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/ttf-sil-padauk/ttf-sil-padauk-2.1.ebuild,v 1.8 2006/11/26 23:58:54 flameeyes Exp $

inherit font versionator

#MY_P="${PN/-/-sil-}-$(delete_version_separator 2)"

DESCRIPTION="Padauk Typeface"
HOMEPAGE="http://scripts.sil.org/padauk"
#SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi\&format=file\&media_id=MH_Padauk_tarball\&filename=padauk_2_1.tar.gz"
SRC_URI="mirror://gentoo/${P}.tgz"

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

DOCS="FONTLOG OFL OFL-FAQ local.conf"
FONT_SUFFIX="ttf"

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

src_install() {
	font_src_install
	if use doc ; then
		insinto /usr/share/doc/${PN}-${PVR}
		doins *.pdf
	fi
}