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

EAPI=7

MY_PN="MonteCarlo"
inherit font

DESCRIPTION="Monospace font, created by programmers, for programmers"
HOMEPAGE="https://www.bok.net/MonteCarlo/"
SRC_URI="https://www.bok.net/${MY_PN}/downloads/${MY_PN}-PCF.tgz
	bdf? ( https://www.bok.net/${MY_PN}/downloads/${MY_PN}-BDF.tgz )"
S="${WORKDIR}"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bdf"

src_install() {
	insinto /usr/share/fonts/${PN}/
	doins "${MY_PN}"-PCF/*
	use bdf && doins "${MY_PN}"-BDF/*
	font_xfont_config
}