/[gentoo-x86]/eclass/font.eclass
Gentoo

Diff of /eclass/font.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.15
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.14 2005/07/06 20:23:20 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.15 2005/07/11 15:08:06 swegener Exp $
4 4
5# Author: foser <foser@gentoo.org> 5# Author: foser <foser@gentoo.org>
6 6
7# Font Eclass 7# Font Eclass
8# 8#
19 19
20FONT_S="${S}" # Dir containing the fonts 20FONT_S="${S}" # Dir containing the fonts
21 21
22DOCS="" # Docs to install 22DOCS="" # Docs to install
23 23
24IUSE="${IUSE} X" 24IUSE="X"
25 25
26DEPEND="${DEPEND} \
27 X? ( virtual/x11 ) \ 26DEPEND="X? ( virtual/x11 )
28 media-libs/fontconfig" 27 media-libs/fontconfig"
29 28
30# 29#
31# Public functions 30# Public functions
32# 31#
33 32
34font_xfont_config() { 33font_xfont_config() {
35 34
67 local suffix 66 local suffix
68 67
69 cd "${FONT_S}" 68 cd "${FONT_S}"
70 69
71 insinto "/usr/share/fonts/${PN}" 70 insinto "/usr/share/fonts/${PN}"
72 71
73 for suffix in ${FONT_SUFFIX}; do 72 for suffix in ${FONT_SUFFIX}; do
74 doins *.${suffix} 73 doins *.${suffix}
75 done 74 done
76 75
77 rm -f fonts.{dir,scale} encodings.dir 76 rm -f fonts.{dir,scale} encodings.dir

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20