# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-fonts/unifont/unifont-5.1.20080914.ebuild,v 1.1 2008/12/31 15:12:28 matsuu Exp $ inherit eutils font toolchain-funcs DESCRIPTION="GNU Unifont - a Pan-Unicode X11 bitmap iso10646 font" HOMEPAGE="http://unifoundry.com/" SRC_URI="http://unifoundry.com/pub/debian/${P}.tar.gz" LICENSE="freedist" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="" DEPEND="dev-lang/perl" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-gentoo.patch" tc-export CC } src_install() { emake DESTDIR="${D}" install || die font_xfont_config font_xft_config font_fontconfig dodoc README unifont-intro.txt }