summary refs log tree commit diff
path: root/media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild
blob: 7ff36b7e59cf52015a112044a70bcc482299a12f (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 1999-2021 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