blob: 8e225728d3a791b95f96ca8b60b59321a1055036 (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
FONT_SUFFIX="otf pcf ttf"
inherit font
DESCRIPTION="Set of bitmapped Unicode fonts based on classic system fonts"
HOMEPAGE="http://viznut.fi/unscii/"
SRC_URI="http://viznut.fi/unscii/${P}-src.tar.gz -> ${P}.tar.gz"
LICENSE="
public-domain
unicode? ( GPL-2 )
"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="unicode"
RDEPEND="media-libs/sdl-image"
DEPEND="
${RDEPEND}
dev-lang/perl
media-gfx/fontforge
x11-apps/bdftopcf
unicode? ( media-fonts/unifont[utils] )
"
S="${WORKDIR}/${P}-src"
DOCS=( ${PN}.txt )
src_prepare() {
default
sed -i \
-e 's;CC=.*;CC ?= gcc;' \
-e 's;$(CC) ;&$(CFLAGS) ;' \
-e 's;$(CC) .* -o .*;& $(LDFLAGS);' \
Makefile || die
}
src_install() {
font_src_install
dobin bm2uns
}
|