summaryrefslogtreecommitdiffstats
path: root/japanese/monafonts/pkg-req
blob: 4e87bda1efde2bd8951b66f208c390e4ed5a3350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/sh

if [ "x$1" = "x" ]; then
	exit 1;
fi
if [ "x$2" != "xINSTALL" -a "x$2" != "xDEINSTALL" ]; then
	exit 1;
fi

export FONTDIR; FONTDIR=${PKG_PREFIX}/lib/X11/fonts/local

if [ "$2x" = "INSTALLx" -a ! -d ${FONTDIR} ]; then
	echo '**********************************************************************'
	echo "****** ${FONTDIR}/ doesn't exist."
	echo "****** Creating ${FONTDIR}/"
	echo '****** Please upgrade your XFree86 to 3.3.3 or upper,'
	echo "****** or add this directory to your /etc/XF86Config's FontPath entry."
	echo '**********************************************************************'
	mkdir ${FONTDIR}
fi

# font alias entry here!
TMPFILE=/tmp/install-fonts-alias-$$
cat << EOF > ${TMPFILE}
mona6x12a -mona-gothic-medium-r-normal--12-110-75-75-p-60-iso8859-1
mona6x12aB -mona-gothic-bold-r-normal--12-110-75-75-p-60-iso8859-1
mona6x12aBI -mona-gothic-bold-i-normal--12-110-75-75-p-60-iso8859-1
mona6x12aI -mona-gothic-medium-i-normal--12-110-75-75-p-60-iso8859-1
mona6x12r -mona-gothic-medium-r-normal--12-110-75-75-p-60-jisx0201.1976-0
mona6x12rB -mona-gothic-bold-r-normal--12-110-75-75-p-60-jisx0201.1976-0
mona6x12rBI -mona-gothic-bold-i-normal--12-110-75-75-p-60-jisx0201.1976-0
mona6x12rI -mona-gothic-medium-i-normal--12-110-75-75-p-60-jisx0201.1976-0
mona7x14a -mona-gothic-medium-r-normal--14-130-75-75-p-70-iso8859-1
mona7x14aB -mona-gothic-bold-r-normal--14-130-75-75-p-70-iso8859-1
mona7x14aBI -mona-gothic-bold-i-normal--14-130-75-75-p-70-iso8859-1
mona7x14aI -mona-gothic-medium-i-normal--14-130-75-75-p-70-iso8859-1
mona7x14r -mona-gothic-medium-r-normal--14-130-75-75-p-70-jisx0201.1976-0
mona7x14rB -mona-gothic-bold-r-normal--14-130-75-75-p-70-jisx0201.1976-0
mona7x14rBI -mona-gothic-bold-i-normal--14-130-75-75-p-70-jisx0201.1976-0
mona7x14rI -mona-gothic-medium-i-normal--14-130-75-75-p-70-jisx0201.1976-0
mona8x16a -mona-gothic-medium-r-normal--16-150-75-75-p-80-iso8859-1
mona8x16aB -mona-gothic-bold-r-normal--16-150-75-75-p-80-iso8859-1
mona8x16aBI -mona-gothic-bold-i-normal--16-150-75-75-p-80-iso8859-1
mona8x16aI -mona-gothic-medium-i-normal--16-150-75-75-p-80-iso8859-1
mona8x16r -mona-gothic-medium-r-normal--16-150-75-75-p-80-jisx0201.1976-0
mona8x16rB -mona-gothic-bold-r-normal--16-150-75-75-p-80-jisx0201.1976-0
mona8x16rBI -mona-gothic-bold-i-normal--16-150-75-75-p-80-jisx0201.1976-0
mona8x16rI -mona-gothic-medium-i-normal--16-150-75-75-p-80-jisx0201.1976-0
monak12 -mona-gothic-medium-r-normal--12-110-75-75-p-120-jisx0208.1990-0
monak12B -mona-gothic-bold-r-normal--12-110-75-75-p-120-jisx0208.1990-0
monak12BI -mona-gothic-bold-i-normal--12-110-75-75-p-120-jisx0208.1990-0
monak12I -mona-gothic-medium-i-normal--12-110-75-75-p-120-jisx0208.1990-0
monak14 -mona-gothic-medium-r-normal--14-130-75-75-p-140-jisx0208.1990-0
monak14B -mona-gothic-bold-r-normal--14-130-75-75-p-140-jisx0208.1990-0
monak14BI -mona-gothic-bold-i-normal--14-130-75-75-p-140-jisx0208.1990-0
monak14I -mona-gothic-medium-i-normal--14-130-75-75-p-140-jisx0208.1990-0
monak16 -mona-gothic-medium-r-normal--16-150-75-75-p-160-jisx0208.1990-0
monak16B -mona-gothic-bold-r-normal--16-150-75-75-p-160-jisx0208.1990-0
monak16BI -mona-gothic-bold-i-normal--16-150-75-75-p-160-jisx0208.1990-0
monak16I -mona-gothic-medium-i-normal--16-150-75-75-p-160-jisx0208.1990-0
monau16 -mona-gothic-medium-r-normal--16-150-75-75-p-160-iso10646-1
monau16B -mona-gothic-bold-r-normal--16-150-75-75-p-160-iso10646-1
monau16BI -mona-gothic-bold-i-normal--16-150-75-75-p-160-iso10646-1
monau16I -mona-gothic-medium-i-normal--16-150-75-75-p-160-iso10646-1
-mona-gothic-medium-i-normal--12-110-75-75-p-120-jisx0208.1983-0 -mona-gothic-medium-i-normal--12-110-75-75-p-120-jisx0208.1990-0
-mona-gothic-bold-r-normal--16-150-75-75-p-160-jisx0208.1983-0 -mona-gothic-bold-r-normal--16-150-75-75-p-160-jisx0208.1990-0
-mona-gothic-bold-r-normal--14-130-75-75-p-140-jisx0208.1983-0 -mona-gothic-bold-r-normal--14-130-75-75-p-140-jisx0208.1990-0
-mona-gothic-medium-i-normal--16-150-75-75-p-160-jisx0208.1983-0 -mona-gothic-medium-i-normal--16-150-75-75-p-160-jisx0208.1990-0
-mona-gothic-bold-r-normal--12-110-75-75-p-120-jisx0208.1983-0 -mona-gothic-bold-r-normal--12-110-75-75-p-120-jisx0208.1990-0
-mona-gothic-medium-i-normal--14-130-75-75-p-140-jisx0208.1983-0 -mona-gothic-medium-i-normal--14-130-75-75-p-140-jisx0208.1990-0
-mona-gothic-bold-i-normal--14-130-75-75-p-140-jisx0208.1983-0 -mona-gothic-bold-i-normal--14-130-75-75-p-140-jisx0208.1990-0
-mona-gothic-bold-i-normal--16-150-75-75-p-160-jisx0208.1983-0 -mona-gothic-bold-i-normal--16-150-75-75-p-160-jisx0208.1990-0
-mona-gothic-bold-i-normal--12-110-75-75-p-120-jisx0208.1983-0 -mona-gothic-bold-i-normal--12-110-75-75-p-120-jisx0208.1990-0
-mona-gothic-medium-r-normal--16-150-75-75-p-160-jisx0208.1983-0 -mona-gothic-medium-r-normal--16-150-75-75-p-160-jisx0208.1990-0
-mona-gothic-medium-r-normal--14-130-75-75-p-140-jisx0208.1983-0 -mona-gothic-medium-r-normal--14-130-75-75-p-140-jisx0208.1990-0
-mona-gothic-medium-r-normal--12-110-75-75-p-120-jisx0208.1983-0 -mona-gothic-medium-r-normal--12-110-75-75-p-120-jisx0208.1990-0
-mona-gothic-medium-r-normal--24-230-75-75-p-240-jisx0208.1983-0 -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
-mona-gothic-medium-r-normal--20-190-75-75-p-200-jisx0208.1983-0 -kappa-mincho-medium-r-normal--20-190-75-75-c-200-jisx0208.1990-0
-mona-gothic-medium-r-normal--10-70-75-75-p-100-jisx0208.1983-0 -elisa-fixed-medium-r-normal--10-70-75-75-c-100-jisx0208.1983-0
-mona-gothic-bold-r-normal--20-190-75-75-p-200-jisx0208.1983-0 -kappa-mincho-bold-r-normal--20-190-75-75-c-200-jisx0208.1990-0
EOF

echo "Updating ${FONTDIR}/fonts.alias"
cd ${FONTDIR}
touch fonts.alias
cp fonts.alias fonts.alias.orig
if [ "$2" = "INSTALL" ] ; then
	(grep -v -e "`cat ${TMPFILE}`" fonts.alias.orig ; \
	 cat ${TMPFILE}) > fonts.alias
elif [ "$2" = "DEINSTALL" ] ; then
	grep -v -- "`cat ${TMPFILE}`" fonts.alias.orig > fonts.alias
fi
rm -f fonts.alias.orig ${TMPFILE}

echo "**********************************************************"
echo "You should restart X server or do 'xset fp rehash' command"
echo "to enable this update."
echo "**********************************************************"

exit 0;
OpenPOWER on IntegriCloud