Contents of /smage/branches/alx-0_6_0/core/font-adobe-75dpi/font-adobe-75dpi-1.0.3-r2.smage2
Parent Directory | Revision Log
Revision 2512 -
(show annotations)
(download)
Thu Jun 30 15:03:17 2011 UTC (12 years, 11 months ago) by niro
File size: 4387 byte(s)
Thu Jun 30 15:03:17 2011 UTC (12 years, 11 months ago) by niro
File size: 4387 byte(s)
-tell what we are doing
1 | # $Id$ |
2 | |
3 | PNAME="font-adobe-75dpi" |
4 | PVER="1.0.3" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="media-fonts" |
8 | |
9 | DESCRIPTION="Adobe font family - 75dpi." |
10 | HOMEPAGE="http://xorg.freedesktop.org" |
11 | |
12 | # keep fontconfig |
13 | ALX_ONLY_KEEP="usr/share/fonts/75dpi/fonts.dir |
14 | usr/share/fonts/75dpi/fonts.scale" |
15 | |
16 | # # keep helvB |
17 | # ALX_ONLY_KEEP+=" usr/share/fonts/75dpi/helvB08-ISO8859-1.pcf.gz |
18 | # usr/share/fonts/75dpi/helvB08.pcf.gz |
19 | # usr/share/fonts/75dpi/helvB10-ISO8859-1.pcf.gz |
20 | # usr/share/fonts/75dpi/helvB10.pcf.gz |
21 | # usr/share/fonts/75dpi/helvB12-ISO8859-1.pcf.gz |
22 | # usr/share/fonts/75dpi/helvB12.pcf.gz |
23 | # usr/share/fonts/75dpi/helvB14-ISO8859-1.pcf.gz |
24 | # usr/share/fonts/75dpi/helvB14.pcf.gz |
25 | # usr/share/fonts/75dpi/helvB18-ISO8859-1.pcf.gz |
26 | # usr/share/fonts/75dpi/helvB18.pcf.gz |
27 | # usr/share/fonts/75dpi/helvB24-ISO8859-1.pcf.gz |
28 | # usr/share/fonts/75dpi/helvB24.pcf.gz" |
29 | # |
30 | # # keep helvBO |
31 | # ALX_ONLY_KEEP+=" usr/share/fonts/75dpi/helvBO08-ISO8859-1.pcf.gz |
32 | # usr/share/fonts/75dpi/helvBO08.pcf.gz |
33 | # usr/share/fonts/75dpi/helvBO10-ISO8859-1.pcf.gz |
34 | # usr/share/fonts/75dpi/helvBO10.pcf.gz |
35 | # usr/share/fonts/75dpi/helvBO12-ISO8859-1.pcf.gz |
36 | # usr/share/fonts/75dpi/helvBO12.pcf.gz |
37 | # usr/share/fonts/75dpi/helvBO14-ISO8859-1.pcf.gz |
38 | # usr/share/fonts/75dpi/helvBO14.pcf.gz |
39 | # usr/share/fonts/75dpi/helvBO18-ISO8859-1.pcf.gz |
40 | # usr/share/fonts/75dpi/helvBO18.pcf.gz |
41 | # usr/share/fonts/75dpi/helvBO24-ISO8859-1.pcf.gz |
42 | # usr/share/fonts/75dpi/helvBO24.pcf.gz" |
43 | # |
44 | # # keep helvO |
45 | # ALX_ONLY_KEEP+=" usr/share/fonts/75dpi/helvO08-ISO8859-1.pcf.gz |
46 | # usr/share/fonts/75dpi/helvO08.pcf.gz |
47 | # usr/share/fonts/75dpi/helvO10-ISO8859-1.pcf.gz |
48 | # usr/share/fonts/75dpi/helvO10.pcf.gz |
49 | # usr/share/fonts/75dpi/helvO12-ISO8859-1.pcf.gz |
50 | # usr/share/fonts/75dpi/helvO12.pcf.gz |
51 | # usr/share/fonts/75dpi/helvO14-ISO8859-1.pcf.gz |
52 | # usr/share/fonts/75dpi/helvO14.pcf.gz |
53 | # usr/share/fonts/75dpi/helvO18-ISO8859-1.pcf.gz |
54 | # usr/share/fonts/75dpi/helvO18.pcf.gz |
55 | # usr/share/fonts/75dpi/helvO24-ISO8859-1.pcf.gz |
56 | # usr/share/fonts/75dpi/helvO24.pcf.gz" |
57 | # |
58 | # # keep helvR |
59 | # ALX_ONLY_KEEP+=" usr/share/fonts/75dpi/helvR08-ISO8859-1.pcf.gz |
60 | # usr/share/fonts/75dpi/helvR08.pcf.gz |
61 | # usr/share/fonts/75dpi/helvR10-ISO8859-1.pcf.gz |
62 | # usr/share/fonts/75dpi/helvR10.pcf.gz |
63 | # usr/share/fonts/75dpi/helvR12-ISO8859-1.pcf.gz |
64 | # usr/share/fonts/75dpi/helvR12.pcf.gz |
65 | # usr/share/fonts/75dpi/helvR14-ISO8859-1.pcf.gz |
66 | # usr/share/fonts/75dpi/helvR14.pcf.gz |
67 | # usr/share/fonts/75dpi/helvR18-ISO8859-1.pcf.gz |
68 | # usr/share/fonts/75dpi/helvR18.pcf.gz |
69 | # usr/share/fonts/75dpi/helvR24-ISO8859-1.pcf.gz |
70 | # usr/share/fonts/75dpi/helvR24.pcf.gz" |
71 | |
72 | # only keep courB - needed by ica-client >=11.100 (wfica only!) |
73 | ALX_ONLY_KEEP+=" usr/share/fonts/75dpi/courB08-ISO8859-1.pcf.gz |
74 | usr/share/fonts/75dpi/courB08.pcf.gz |
75 | usr/share/fonts/75dpi/courB10-ISO8859-1.pcf.gz |
76 | usr/share/fonts/75dpi/courB10.pcf.gz |
77 | usr/share/fonts/75dpi/courB12-ISO8859-1.pcf.gz |
78 | usr/share/fonts/75dpi/courB12.pcf.gz |
79 | usr/share/fonts/75dpi/courB14-ISO8859-1.pcf.gz |
80 | usr/share/fonts/75dpi/courB14.pcf.gz |
81 | usr/share/fonts/75dpi/courB18-ISO8859-1.pcf.gz |
82 | usr/share/fonts/75dpi/courB18.pcf.gz |
83 | usr/share/fonts/75dpi/courB24-ISO8859-1.pcf.gz |
84 | usr/share/fonts/75dpi/courB24.pcf.gz" |
85 | |
86 | SDEPEND=">= x11-apps/bdftopcf-1 |
87 | >= media-fonts/font-util-1" |
88 | |
89 | sminclude xorg alx-split |
90 | |
91 | UP2DATE="updatecmd_xorg ${PNAME}" |
92 | |
93 | src_compile() |
94 | { |
95 | cd ${SRCDIR} |
96 | local myconf |
97 | |
98 | # build only some generic fonts |
99 | myconf="--enable-iso8859-1" |
100 | |
101 | # disable all unwanted |
102 | myconf+=" --disable-iso8859-2" |
103 | myconf+=" --disable-iso8859-3" |
104 | myconf+=" --disable-iso8859-4" |
105 | myconf+=" --disable-iso8859-9" |
106 | myconf+=" --disable-iso8859-10" |
107 | myconf+=" --disable-iso8859-13" |
108 | myconf+=" --disable-iso8859-14" |
109 | myconf+=" --disable-iso8859-15" |
110 | |
111 | xorg_src_configure --with-mapfiles=/usr/share/fonts/util ${myconf} || die |
112 | mmake || die |
113 | } |
114 | |
115 | alx_generic_src_install() |
116 | { |
117 | cd ${SRCDIR} |
118 | |
119 | mmake DESTDIR=${BINDIR} install || die |
120 | |
121 | # update fonts.dir and fonts.scale against the remaining fonts |
122 | if [[ ${PNAME} = font-adobe-75dpi ]] |
123 | then |
124 | echo "Regenerating fonts.dir and fonts.scale ..." |
125 | # create fonts.scale |
126 | mkfontscale \ |
127 | -a /usr/share/fonts/encodings/encodings.dir \ |
128 | -- ${BINDIR}/usr/share/fonts/75dpi || die |
129 | # create fonts.dir (mkfontscale -b -s -l == mkfontdir ;) |
130 | mkfontscale -b -s -l \ |
131 | -e /usr/share/fonts/encodings \ |
132 | -e /usr/share/fonts/encodings/large \ |
133 | -- ${BINDIR}/usr/share/fonts/75dpi || die |
134 | echo "done" |
135 | fi |
136 | } |