1 |
dirtyepic 09/09/13 04:47:35 |
2 |
|
3 |
Modified: font.eclass |
4 |
Log: |
5 |
Allow variables to be defined before inheriting. |
6 |
|
7 |
Revision Changes Path |
8 |
1.46 eclass/font.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?rev=1.46&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?rev=1.46&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?r1=1.45&r2=1.46 |
13 |
|
14 |
Index: font.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/font.eclass,v |
17 |
retrieving revision 1.45 |
18 |
retrieving revision 1.46 |
19 |
diff -u -r1.45 -r1.46 |
20 |
--- font.eclass 7 Sep 2009 21:07:11 -0000 1.45 |
21 |
+++ font.eclass 13 Sep 2009 04:47:34 -0000 1.46 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.45 2009/09/07 21:07:11 dirtyepic Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.46 2009/09/13 04:47:34 dirtyepic Exp $ |
27 |
|
28 |
# @ECLASS: font.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -21,7 +21,7 @@ |
31 |
# @ECLASS-VARIABLE: FONT_SUFFIX |
32 |
# @DESCRIPTION: |
33 |
# Space delimited list of font suffixes to install |
34 |
-FONT_SUFFIX="" |
35 |
+FONT_SUFFIX=${FONT_SUFFIX:-} |
36 |
|
37 |
# @ECLASS-VARIABLE: FONT_S |
38 |
# @DESCRIPTION: |
39 |
@@ -31,12 +31,12 @@ |
40 |
# @ECLASS-VARIABLE: FONT_PN |
41 |
# @DESCRIPTION: |
42 |
# Last part of $FONTDIR |
43 |
-FONT_PN=${PN} |
44 |
+FONT_PN=${FONT_PN:-${PN}} |
45 |
|
46 |
# @ECLASS-VARIABLE: FONTDIR |
47 |
# @DESCRIPTION: |
48 |
# This is where the fonts are installed |
49 |
-FONTDIR=/usr/share/fonts/${FONT_PN} |
50 |
+FONTDIR=${FONTDIR:-/usr/share/fonts/${FONT_PN}} |
51 |
|
52 |
# @ECLASS-VARIABLE: FONT_CONF |
53 |
# @DESCRIPTION: |
54 |
@@ -46,7 +46,7 @@ |
55 |
# @ECLASS-VARIABLE: DOCS |
56 |
# @DESCRIPTION: |
57 |
# Docs to install |
58 |
-DOCS="" |
59 |
+DOCS=${DOCS:-} |
60 |
|
61 |
IUSE="X" |
62 |
|
63 |
@@ -195,4 +195,3 @@ |
64 |
fi |
65 |
fi |
66 |
} |
67 |
- |