blob: 265bda4d6be711322ce52f00de47b4cdd1447529 (
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
39
40
41
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-sans-pro/source-sans-pro-1.033.ebuild,v 1.1 2012/08/12 14:31:13 ssuominen Exp $
EAPI=4
inherit font
MY_P=SourceCodePro_FontsOnly-${PV}
DESCRIPTION="Adobe Source Code Pro, an open source monospace font family"
HOMEPAGE="http://blogs.adobe.com/typblography/2012/09/source-code-pro.html"
SRC_URI="mirror://sourceforge/sourcecodepro.adobe/${MY_P}.zip"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
# This ebuild does not install any binaries
RESTRICT="binchecks strip"
RDEPEND="media-libs/fontconfig"
DEPEND="app-arch/unzip"
S=${WORKDIR}/${MY_P}
FONT_SUFFIX="otf ttf"
FONT_S=${S}
# From .spec of http://bugzilla.redhat.com/show_bug.cgi?id=845743
FONT_CONF=( "${FILESDIR}"/63-${PN}.conf )
src_prepare() {
# Put otf and ttf files in one directory so that font_src_install can
# actually find them
mv -vf {OTF,TTF}/* . || die
}
src_install() {
font_src_install
dohtml *.html
}
|