1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit font toolchain-funcs xdg-utils
8 DESCRIPTION="GNU Unifont - a Pan-Unicode X11 bitmap iso10646 font"
9 HOMEPAGE="http://unifoundry.com/"
10 SRC_URI="mirror://gnu/${PN}/${P}/${P}.tar.gz"
14 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
15 IUSE="fontforge utils"
34 sed -i -e 's/install -s/install/' src/Makefile || die
39 if use fontforge || use utils; then
44 BUILDFONT=$(usex fontforge 1 '')
46 emake -j1 "${makeargs[@]}"
53 PCFDEST="${ED%/}${FONTDIR}"
54 TTFDEST="${ED%/}${FONTDIR}"
57 use utils || makeargs+=( -C font )
58 emake -j1 "${makeargs[@]}" install