1# $FreeBSD: head/share/numericdef/Makefile 123682 2003-12-20 11:18:43Z ache $
2
3NOMAN=YES
4CLEANFILES+= ${LOCALES:S/$/.out/g}
5
6LOCALES= af_ZA.ISO8859-1 \
7 am_ET.UTF-8 \
8 be_BY.CP1251 \
9 bg_BG.CP1251 \
10 ca_ES.ISO8859-1 \
11 cs_CZ.ISO8859-2 \
12 da_DK.ISO8859-1 \
13 de_DE.ISO8859-1 \
14 el_GR.ISO8859-7 \
15 en_US.ISO8859-1 \
16 es_ES.ISO8859-1 \
17 et_EE.ISO8859-15 \
18 fi_FI.ISO8859-1 \
19 fr_BE.ISO8859-1 \
20 fr_FR.ISO8859-1 \
21 hi_IN.ISCII-DEV \
22 hr_HR.ISO8859-2 \
23 hu_HU.ISO8859-2 \
24 hy_AM.ARMSCII-8 \
25 is_IS.ISO8859-1 \
26 it_IT.ISO8859-1 \
27 ja_JP.eucJP \
28 ko_KR.eucKR \
29 lt_LT.ISO8859-13 \
30 nl_NL.ISO8859-1 \
31 no_NO.ISO8859-1 \
32 pl_PL.ISO8859-2 \
33 pt_BR.ISO8859-1 \
34 pt_PT.ISO8859-1 \
35 ro_RO.ISO8859-2 \
36 ru_RU.KOI8-R \
37 sk_SK.ISO8859-2 \
38 sl_SI.ISO8859-2 \
39 sr_YU.ISO8859-2 \
40 sr_YU.ISO8859-5 \
41 sv_SE.ISO8859-1 \
42 tr_TR.ISO8859-9 \
43 uk_UA.KOI8-U \
44 zh_CN.eucCN
45
46LOCALEDIR= ${DESTDIR}/usr/share/locale
47
48ASCIILINKS= en_US
49LATIN15LINKS= af_ZA ca_ES da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR is_IS \
50 it_CH it_IT nl_NL no_NO pt_PT sv_SE
51
52US_LINKS= en_CA en_GB
53GB_LINKS= en_AU en_NZ
54FR_LINKS= fr_CA fr_CH
55DE_LINKS= de_AT de_CH
56IT_LINKS= it_CH
57BE_LINKS= nl_BE
58RU_LINKS= ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5
59UA_LINKS= uk_UA.ISO8859-5
60BY_LINKS= be_BY.CP1131 be_BY.ISO8859-5
61CN_LINKS= zh_CN.GB18030 zh_CN.GB2312 zh_CN.GBK zh_TW.Big5
62
63.SUFFIXES: .src .out
64
65.src.out:
66 grep -v '^#' < ${.IMPSRC} > ${.TARGET}
67
68all: ${LOCALES:S/$/.out/g}
69
70afterinstall:
71.for lang in ${LOCALES}
72 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
73 ${LOCALEDIR}/${lang}/LC_NUMERIC
74.endfor
75.for link in ${LATIN15LINKS}
76 ln -sf ../${link}.ISO8859-1/LC_NUMERIC \
77 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
78.endfor
79.for link in ${US_LINKS}
80 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
81 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
82 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
83 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
84 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
85 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
86.endfor
87.for link in ${GB_LINKS}
88 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
89 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
90 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
91 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
92 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
93 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
94.endfor
95.for link in ${FR_LINKS}
96 ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \
97 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
98 ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \
99 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
100.endfor
101.for link in ${DE_LINKS}
102 ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \
103 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
104 ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \
105 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
106.endfor
107.for link in ${IT_LINKS}
108 ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \
109 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
110 ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \
111 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
112.endfor
113.for link in ${BE_LINKS}
114 ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \
115 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
116 ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \
117 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
118.endfor
119.for link in ${RU_LINKS}
120 ln -sf ../ru_RU.KOI8-R/LC_NUMERIC \
121 ${LOCALEDIR}/${link}/LC_NUMERIC
122.endfor
123.for link in ${BY_LINKS}
124 ln -sf ../be_BY.CP1251/LC_NUMERIC \
125 ${LOCALEDIR}/${link}/LC_NUMERIC
126.endfor
127.for link in ${UA_LINKS}
128 ln -sf ../uk_UA.KOI8-U/LC_NUMERIC \
129 ${LOCALEDIR}/${link}/LC_NUMERIC
130.endfor
131.for link in ${CN_LINKS}
132 ln -sf ../zh_CN.eucCN/LC_NUMERIC \
133 ${LOCALEDIR}/${link}/LC_NUMERIC
134.endfor
135.for link in ${ASCIILINKS}
136 ln -sf ../${link}.ISO8859-1/LC_NUMERIC \
137 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
138.endfor
139 ln -sf ../ja_JP.eucJP/LC_NUMERIC \
140 ${LOCALEDIR}/ja_JP.SJIS/LC_NUMERIC
141 ln -sf ../ko_KR.eucKR/LC_NUMERIC \
142 ${LOCALEDIR}/ko_KR.CP949/LC_NUMERIC
143
144.include <bsd.prog.mk>
2
3NOMAN=YES
4CLEANFILES+= ${LOCALES:S/$/.out/g}
5
6LOCALES= af_ZA.ISO8859-1 \
7 am_ET.UTF-8 \
8 be_BY.CP1251 \
9 bg_BG.CP1251 \
10 ca_ES.ISO8859-1 \
11 cs_CZ.ISO8859-2 \
12 da_DK.ISO8859-1 \
13 de_DE.ISO8859-1 \
14 el_GR.ISO8859-7 \
15 en_US.ISO8859-1 \
16 es_ES.ISO8859-1 \
17 et_EE.ISO8859-15 \
18 fi_FI.ISO8859-1 \
19 fr_BE.ISO8859-1 \
20 fr_FR.ISO8859-1 \
21 hi_IN.ISCII-DEV \
22 hr_HR.ISO8859-2 \
23 hu_HU.ISO8859-2 \
24 hy_AM.ARMSCII-8 \
25 is_IS.ISO8859-1 \
26 it_IT.ISO8859-1 \
27 ja_JP.eucJP \
28 ko_KR.eucKR \
29 lt_LT.ISO8859-13 \
30 nl_NL.ISO8859-1 \
31 no_NO.ISO8859-1 \
32 pl_PL.ISO8859-2 \
33 pt_BR.ISO8859-1 \
34 pt_PT.ISO8859-1 \
35 ro_RO.ISO8859-2 \
36 ru_RU.KOI8-R \
37 sk_SK.ISO8859-2 \
38 sl_SI.ISO8859-2 \
39 sr_YU.ISO8859-2 \
40 sr_YU.ISO8859-5 \
41 sv_SE.ISO8859-1 \
42 tr_TR.ISO8859-9 \
43 uk_UA.KOI8-U \
44 zh_CN.eucCN
45
46LOCALEDIR= ${DESTDIR}/usr/share/locale
47
48ASCIILINKS= en_US
49LATIN15LINKS= af_ZA ca_ES da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR is_IS \
50 it_CH it_IT nl_NL no_NO pt_PT sv_SE
51
52US_LINKS= en_CA en_GB
53GB_LINKS= en_AU en_NZ
54FR_LINKS= fr_CA fr_CH
55DE_LINKS= de_AT de_CH
56IT_LINKS= it_CH
57BE_LINKS= nl_BE
58RU_LINKS= ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5
59UA_LINKS= uk_UA.ISO8859-5
60BY_LINKS= be_BY.CP1131 be_BY.ISO8859-5
61CN_LINKS= zh_CN.GB18030 zh_CN.GB2312 zh_CN.GBK zh_TW.Big5
62
63.SUFFIXES: .src .out
64
65.src.out:
66 grep -v '^#' < ${.IMPSRC} > ${.TARGET}
67
68all: ${LOCALES:S/$/.out/g}
69
70afterinstall:
71.for lang in ${LOCALES}
72 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
73 ${LOCALEDIR}/${lang}/LC_NUMERIC
74.endfor
75.for link in ${LATIN15LINKS}
76 ln -sf ../${link}.ISO8859-1/LC_NUMERIC \
77 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
78.endfor
79.for link in ${US_LINKS}
80 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
81 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
82 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
83 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
84 ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
85 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
86.endfor
87.for link in ${GB_LINKS}
88 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
89 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
90 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
91 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
92 ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
93 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
94.endfor
95.for link in ${FR_LINKS}
96 ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \
97 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
98 ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \
99 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
100.endfor
101.for link in ${DE_LINKS}
102 ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \
103 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
104 ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \
105 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
106.endfor
107.for link in ${IT_LINKS}
108 ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \
109 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
110 ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \
111 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
112.endfor
113.for link in ${BE_LINKS}
114 ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \
115 ${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
116 ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \
117 ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
118.endfor
119.for link in ${RU_LINKS}
120 ln -sf ../ru_RU.KOI8-R/LC_NUMERIC \
121 ${LOCALEDIR}/${link}/LC_NUMERIC
122.endfor
123.for link in ${BY_LINKS}
124 ln -sf ../be_BY.CP1251/LC_NUMERIC \
125 ${LOCALEDIR}/${link}/LC_NUMERIC
126.endfor
127.for link in ${UA_LINKS}
128 ln -sf ../uk_UA.KOI8-U/LC_NUMERIC \
129 ${LOCALEDIR}/${link}/LC_NUMERIC
130.endfor
131.for link in ${CN_LINKS}
132 ln -sf ../zh_CN.eucCN/LC_NUMERIC \
133 ${LOCALEDIR}/${link}/LC_NUMERIC
134.endfor
135.for link in ${ASCIILINKS}
136 ln -sf ../${link}.ISO8859-1/LC_NUMERIC \
137 ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
138.endfor
139 ln -sf ../ja_JP.eucJP/LC_NUMERIC \
140 ${LOCALEDIR}/ja_JP.SJIS/LC_NUMERIC
141 ln -sf ../ko_KR.eucKR/LC_NUMERIC \
142 ${LOCALEDIR}/ko_KR.CP949/LC_NUMERIC
143
144.include <bsd.prog.mk>