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

Diff of /eclass/font.eclass

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

Revision 1.22 Revision 1.23
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.22 2007/03/26 20:04:34 genstef Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.23 2007/06/24 06:15:21 dirtyepic 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#
64# Public inheritable functions 64# Public inheritable functions
65# 65#
66 66
67font_src_install() { 67font_src_install() {
68 68
69 local suffix 69 local suffix commondoc
70 70
71 cd "${FONT_S}" 71 cd "${FONT_S}"
72 72
73 insinto "${FONTDIR}" 73 insinto "${FONTDIR}"
74 74
80 80
81 font_xfont_config 81 font_xfont_config
82 font_xft_config 82 font_xft_config
83 83
84 cd "${S}" 84 cd "${S}"
85 # try to install some common docs
86 DOCS="${DOCS} COPYRIGHT README NEWS"
87 dodoc ${DOCS} 2> /dev/null 85 dodoc ${DOCS} 2> /dev/null
88 86
87 # install common docs
88 for commondoc in COPYRIGHT README NEWS AUTHORS BUGS ChangeLog; do
89 [ -s ${commondoc} ] && dodoc ${commondoc}
90 done
89} 91}
90 92
91font_pkg_setup() { 93font_pkg_setup() {
92 94
93 # make sure we get no colissions 95 # make sure we get no colissions

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20