1 # Copyright 2003-2020 Gentoo Authors
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 sparc x86"
15 IUSE="fontforge utils"
34 "${FILESDIR}"/10.0.06-make.patch
38 sed -i -e 's/install -s/install/' src/Makefile || die
43 if use fontforge || use utils; then
48 BUILDFONT=$(usex fontforge 1 '')
50 emake "${makeargs[@]}"
57 PCFDEST="${ED%/}${FONTDIR}"
58 TTFDEST="${ED%/}${FONTDIR}"
61 use utils || makeargs+=( -C font )
62 emake "${makeargs[@]}" COMPRESS=0 install