summaryrefslogtreecommitdiff
blob: 4f59cf47a97893d1197ed3fd48a10c5fe8aed8a9 (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
30
31
32
33
34
35
36
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit font

MY_P="jmk-x11-fonts-${PV}"

DESCRIPTION="This package contains character-cell fonts for use with X"
HOMEPAGE="http://www.jmknoble.net/fonts/"
SRC_URI="http://www.pobox.com/~jmknoble/fonts/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sparc ~x86"

BDEPEND="
	x11-misc/imake
	>=x11-apps/mkfontscale-1.2.0
	x11-apps/bdftopcf"

DOCS=( "ChangeLog" "NEWS" "README" )

PATCHES=( "${FILESDIR}"/gzip.patch )

S="${WORKDIR}/${MY_P}"

src_compile() {
	xmkmf || die
	default
}

src_install() {
	emake install INSTALL_DIR="${ED}/usr/share/fonts/jmk"
	einstalldocs
}