aboutsummaryrefslogtreecommitdiff
blob: fd4892f2f06921c8aec60d4021b9786e5c19892a (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.TH "FONT.ECLASS" "5" "Aug 2004" "Portage 2.0.51" "portage"
.SH "NAME"
font.eclass \- easy, uniform font installation
.SH "DESCRIPTION"
The \fBfont\fR eclass attempts to make font installation as easy as possible.
Everything that usually involves installing fonts (such as creating scalable
font indecis, updating the font cache, etc...) is transparently taken 
care of by the \fBfont\fR eclass.
.SH "EXAMPLES"
Here's a simple example ebuild:
.nf
inherit font

DESCRIPTION="a collection of fonts for Nepali users"
HOMEPAGE="http://www.mpp.org.np/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="freedist"
SLOT="0"
KEYWORDS="alpha amd64 ppc x86"
IUSE=""

DEPEND=""

S="${WORKDIR}/${PN}"
FONT_S=${S}
FONT_SUFFIX="ttf"
.fi
.SH "VARIABLES"
.TP
.B "FONT_SUFFIX"
Space-delimited list of font suffixes to install.
.TP
.B "FONT_S"
Directory containing the fonts.  If omitted,  \fB${S}\fR will be used.
.TP
.B "DOCS"
Space-delimited list of documents to install.
.SH "FUNCTIONS"
.TP
.B "font_xfont_config"
Creates font indecis for X font files and also installs a fonts.alias file,
if it exists.  This function is called by \fIfont_src_install\fR.
.TP
.B "font_xft_config"
Creates fontconfig cache.  This function is also called by \fIfont_src_install\fR.
.TP
.B "font_src_install"
Installs all fonts ending with suffixes listed in \fB${FONT_SUFFIX}\fR as well 
as any documents listed in \fB${DOCS}\fR.  This function will be used as the 
default \fIsrc_install\fR function in an ebuild that omits one.
.SH "REPORTING BUGS"
Please report bugs via http://bugs.gentoo.org/
.SH "SEE ALSO
.BR ebuild (5)
.SH "FILES"
.BR /usr/portage/eclass/font.eclass
.SH "AUTHORS"
.nf
Aaron Walker <ka0ttic@gentoo.org>
Mike Frysinger <vapier@gentoo.org>
.fi
.SH "CVS HEADER"
$Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/man/font.eclass.5,v 1.3 2005/02/10 01:37:36 vapier Exp $