summaryrefslogtreecommitdiff
blob: 8adf6036031a7d5dfd16e59296387d657e9b5b4e (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
# 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-1.0-r4.ebuild,v 1.6 2008/06/16 03:47:56 josejx Exp $

inherit font

DESCRIPTION="GNU Unifont - a Pan-Unicode X11 bitmap iso10646 font"
HOMEPAGE="http://czyborra.com/"
SRC_URI="mirror://debian/pool/main/u/unifont/${P/-/_}.orig.tar.gz
	mirror://debian/pool/main/u/unifont/${P/-/_}-4.diff.gz"

LICENSE="freedist"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"

DEPEND="x11-apps/bdftopcf"

S="${WORKDIR}/${PN}-dvdeug-${PV}"
FONT_S="${S}"
FONT_SUFFIX="pcf.gz"

# Only installs fonts
RESTRICT="strip binchecks"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${WORKDIR}/${P/-/_}-4.diff"
}

src_compile() {
	emake || die
	emake -f Makefile.new || die
	gzip -9 unifont.pcf || die
}