summaryrefslogtreecommitdiff
blob: 48581f8f9564db48b3daf4b1a8144b9edb8af473 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit font

DESCRIPTION="A font that imitates Daniel Kahn Gillmor's handwriting"
HOMEPAGE="http://lair.fifthhorseman.net/~dkg/fonts/dkg-handwriting/"

SRC_URI="http://dev.gentoo.org/~klondike/${PN}/${P}.tar.xz"

KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="OFL-1.1"
IUSE="fontforge"

DEPEND="fontforge? ( media-gfx/fontforge[unicode] )"
RDEPEND=""

FONT_SUFFIX="ttf"
DOCS="CHANGELOG README.TXT"

src_compile() {
	if use fontforge; then
		./dkg-handwriting.pe || die "Failed to build fonts"
	fi
}