summaryrefslogtreecommitdiff
blob: 5763ab1138f4bf22f1527d77f0658e0c4a61bd48 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit font

DESCRIPTION="A font that imitates Daniel Kahn Gillmor's handwriting"
HOMEPAGE="http://lair.fifthhorseman.net/~dkg/fonts/dkg-handwriting/"
SRC_URI="https://dev.gentoo.org/~klondike/${PN}/${P}.tar.xz"

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

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

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

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