1 # Copyright 2003-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit font toolchain-funcs
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 sparc x86"
15 IUSE="fontforge utils"
34 "${FILESDIR}"/11.0.02-make.patch
39 BUILDFONT=$(usex fontforge 1 '')
42 INSTALL="${INSTALL-install}"
44 if use fontforge || use utils; then
45 emake "${buildargs[@]}"
53 PCFDEST="${ED}${FONTDIR}"
54 TTFDEST="${ED}${FONTDIR}"
56 use utils || installargs+=( -C font )
57 emake "${buildargs[@]}" "${installargs[@]}" install