summary refs log tree commit diff
path: root/media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild
blob: 44b9e2fd927b36d3201627b63100e6cab923f940 (plain) (blame)
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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit font

DESCRIPTION="Bitmap programmer's fonts"
HOMEPAGE="http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/"
SRC_URI="https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/${P}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="
	dev-lang/perl
	x11-apps/bdftopcf
"

src_configure() {
	./configure prefix="${EPREFIX}/usr" pcfdir="${FONTDIR}"
	sed -e 's/^ENCODINGS =.*/ENCODINGS = uni/' -i TARGETS.dat || die
}

src_install() {
	emake install DESTDIR="${D}"
}

Consider giving Nix/NixOS a try! <3