Contents of /smage/trunk/core/font-adobe-75dpi/font-adobe-75dpi-1.0.3-r3.smage2
Parent Directory | Revision Log
Revision 1971 -
(show annotations)
(download)
Wed Nov 9 16:43:52 2011 UTC (12 years, 5 months ago) by niro
File size: 2084 byte(s)
Wed Nov 9 16:43:52 2011 UTC (12 years, 5 months ago) by niro
File size: 2084 byte(s)
auto added: ver bump to 1.0.3-r3
1 | # $Id$ |
2 | |
3 | PNAME="font-adobe-75dpi" |
4 | PVER="1.0.3" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="media-fonts" |
8 | |
9 | DESCRIPTION="Adobe font family - 75dpi." |
10 | HOMEPAGE="http://xorg.freedesktop.org" |
11 | |
12 | # keep fontconfig |
13 | MCORE_ONLY_KEEP="usr/share/fonts/75dpi/fonts.dir |
14 | usr/share/fonts/75dpi/fonts.scale" |
15 | |
16 | # only keep courB - needed by ica-client >=11.100 (wfica only!) |
17 | MCORE_ONLY_KEEP+=" usr/share/fonts/75dpi/courB08-ISO8859-1.pcf.gz |
18 | usr/share/fonts/75dpi/courB08.pcf.gz |
19 | usr/share/fonts/75dpi/courB10-ISO8859-1.pcf.gz |
20 | usr/share/fonts/75dpi/courB10.pcf.gz |
21 | usr/share/fonts/75dpi/courB12-ISO8859-1.pcf.gz |
22 | usr/share/fonts/75dpi/courB12.pcf.gz |
23 | usr/share/fonts/75dpi/courB14-ISO8859-1.pcf.gz |
24 | usr/share/fonts/75dpi/courB14.pcf.gz |
25 | usr/share/fonts/75dpi/courB18-ISO8859-1.pcf.gz |
26 | usr/share/fonts/75dpi/courB18.pcf.gz |
27 | usr/share/fonts/75dpi/courB24-ISO8859-1.pcf.gz |
28 | usr/share/fonts/75dpi/courB24.pcf.gz" |
29 | |
30 | SDEPEND=">= x11-apps/bdftopcf-1 |
31 | >= media-fonts/font-util-1" |
32 | |
33 | sminclude xorg mcore-split |
34 | |
35 | UP2DATE="updatecmd_xorg ${PNAME}" |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | local myconf |
41 | |
42 | # build only some generic fonts |
43 | myconf="--enable-iso8859-1" |
44 | |
45 | # disable all unwanted |
46 | myconf+=" --disable-iso8859-2" |
47 | myconf+=" --disable-iso8859-3" |
48 | myconf+=" --disable-iso8859-4" |
49 | myconf+=" --disable-iso8859-9" |
50 | myconf+=" --disable-iso8859-10" |
51 | myconf+=" --disable-iso8859-13" |
52 | myconf+=" --disable-iso8859-14" |
53 | myconf+=" --disable-iso8859-15" |
54 | |
55 | xorg_src_configure --with-mapfiles=/usr/share/fonts/util ${myconf} || die |
56 | mmake || die |
57 | } |
58 | |
59 | mcore_generic_src_install() |
60 | { |
61 | cd ${SRCDIR} |
62 | |
63 | mmake DESTDIR=${BINDIR} install || die |
64 | |
65 | # update fonts.dir and fonts.scale against the remaining fonts |
66 | if [[ ${PNAME} = font-adobe-75dpi ]] |
67 | then |
68 | echo "Regenerating fonts.dir and fonts.scale ..." |
69 | # create fonts.scale |
70 | mkfontscale \ |
71 | -a /usr/share/fonts/encodings/encodings.dir \ |
72 | -- ${BINDIR}/usr/share/fonts/75dpi || die |
73 | # create fonts.dir (mkfontscale -b -s -l == mkfontdir ;) |
74 | mkfontscale -b -s -l \ |
75 | -e /usr/share/fonts/encodings \ |
76 | -e /usr/share/fonts/encodings/large \ |
77 | -- ${BINDIR}/usr/share/fonts/75dpi || die |
78 | echo "done" |
79 | fi |
80 | } |