summaryrefslogtreecommitdiff
blob: e04bae48412dc769279f2429cc91c68f5d2c3d43 (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-2007 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.1 2007/08/04 06:07:57 dirtyepic 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
}