blob: c4d78139a135db6e1e7f1fd30cb83dc251478b17 (
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
36
37
38
39
40
41
42
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/terminus-font-4.20.ebuild,v 1.13 2007/09/16 04:01:46 dirtyepic Exp $
DESCRIPTION="A clean fixed font for the console and X11"
HOMEPAGE="http://www.is-vn.bg/hamster/jimmy-en.html"
SRC_URI="http://www.is-vn.bg/hamster/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="X"
DEPEND="X? ( x11-apps/bdftopcf )"
RDEPEND=""
src_compile() {
./configure \
--prefix=/usr \
--psfdir=/usr/share/consolefonts \
--acmdir=/usr/share/consoletrans \
--unidir=/usr/share/consoletrans \
--x11dir=/usr/share/fonts/terminus
emake psf txt || die
# If user wants fonts for X11
if use X; then
emake pcf || die
fi
}
src_install() {
make DESTDIR=${D} install-psf install-acm install-ref || die
# If user wants fonts for X11
if use X; then
make DESTDIR=${D} install-pcf || die
mkfontdir ${D}/usr/share/fonts/terminus
fi
dodoc README*
}
|