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

Diff of /eclass/font.eclass

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

Revision 1.6 Revision 1.7
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.6 2004/06/27 18:42:40 usata Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.7 2004/09/15 23:10:21 kugelfang 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#
9# Eclass to make font installation more uniform 9# Eclass to make font installation more uniform
10
11inherit eutils
10 12
11ECLASS="font" 13ECLASS="font"
12INHERITED="$INHERITED $ECLASS" 14INHERITED="$INHERITED $ECLASS"
13 15
14# 16#
39 einfo "Creating fonts.scale & fonts.dir..." 41 einfo "Creating fonts.scale & fonts.dir..."
40 mkfontscale ${D}/usr/share/fonts/${PN} 42 mkfontscale ${D}/usr/share/fonts/${PN}
41 mkfontdir \ 43 mkfontdir \
42 -e /usr/share/fonts/encodings \ 44 -e /usr/share/fonts/encodings \
43 -e /usr/share/fonts/encodings/large \ 45 -e /usr/share/fonts/encodings/large \
44 -e /usr/X11R6/lib/X11/fonts/encodings \ 46 -e /usr/X11R6/$(get_libdir)/X11/fonts/encodings \
45 ${D}/usr/share/fonts/${PN} 47 ${D}/usr/share/fonts/${PN}
46 if [ -e ${FONT_S}/fonts.alias ] ; 48 if [ -e ${FONT_S}/fonts.alias ] ;
47 then 49 then
48 doins ${FONT_S}/fonts.alias 50 doins ${FONT_S}/fonts.alias
49 fi 51 fi

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20