1# $FreeBSD: head/share/monetdef/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.CP1131 \
9 be_BY.CP1251 \
10 be_BY.ISO8859-5 \
11 bg_BG.CP1251 \
12 ca_ES.ISO8859-1 \
13 cs_CZ.ISO8859-2 \
14 da_DK.ISO8859-1 \
15 de_AT.ISO8859-1 \
16 de_CH.ISO8859-1 \
17 de_DE.ISO8859-1 \
18 el_GR.ISO8859-7 \
19 en_AU.ISO8859-1 \
20 en_CA.ISO8859-1 \
21 en_GB.ISO8859-1 \
22 en_NZ.ISO8859-1 \
23 en_US.ISO8859-1 \
24 es_ES.ISO8859-1 \
25 et_EE.ISO8859-15 \
26 fi_FI.ISO8859-1 \
27 fr_BE.ISO8859-1 \
28 fr_CA.ISO8859-1 \
29 fr_FR.ISO8859-1 \
30 hi_IN.ISCII-DEV \
31 hr_HR.ISO8859-2 \
32 hu_HU.ISO8859-2 \
33 hy_AM.ARMSCII-8 \
34 is_IS.ISO8859-1 \
35 it_IT.ISO8859-1 \
36 ja_JP.eucJP \
37 ko_KR.eucKR \
38 lt_LT.ISO8859-13 \
39 nl_BE.ISO8859-1 \
40 nl_NL.ISO8859-1 \
41 no_NO.ISO8859-1 \
42 pl_PL.ISO8859-2 \
43 pt_BR.ISO8859-1 \
44 pt_PT.ISO8859-1 \
45 ro_RO.ISO8859-2 \
46 ru_RU.CP1251 \
47 ru_RU.CP866 \
48 ru_RU.ISO8859-5 \
49 ru_RU.KOI8-R \
50 sk_SK.ISO8859-2 \
51 sl_SI.ISO8859-2 \
52 sr_YU.ISO8859-2 \
53 sr_YU.ISO8859-5 \
54 sv_SE.ISO8859-1 \
55 tr_TR.ISO8859-9 \
56 uk_UA.ISO8859-5 \
57 uk_UA.KOI8-U \
58 zh_CN.eucCN \
59 zh_CN.GB18030 \
60 zh_CN.GB2312 \
61 zh_TW.Big5
62
63LOCALEDIR= ${DESTDIR}/usr/share/locale
64
65ASCIILINKS= en_AU en_CA en_GB en_NZ en_US
66LATIN15LINKS= af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ \
67 en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT \
68 it_CH nl_BE nl_NL no_NO pt_PT sv_SE
69
70CH_SRC= de_CH
71CH_LINKS= fr_CH it_CH
72
73.SUFFIXES: .src .out
74
75.src.out:
76 grep -v '^#' < ${.IMPSRC} > ${.TARGET}
77
78all: ${LOCALES:S/$/.out/g}
79
80afterinstall:
81.for lang in ${LOCALES}
82 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
83 ${LOCALEDIR}/${lang}/LC_MONETARY
84.endfor
85.for link in ${LATIN15LINKS}
86 ln -sf ../${link}.ISO8859-1/LC_MONETARY \
87 ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
88.endfor
89.for link in ${ASCIILINKS}
90 ln -sf ../${link}.ISO8859-1/LC_MONETARY \
91 ${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
92.endfor
93.for link in ${CH_LINKS}
94 ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
95 ${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
96.endfor
97 ln -sf ../ja_JP.eucJP/LC_MONETARY \
98 ${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
99 ln -sf ../ko_KR.eucKR/LC_MONETARY \
100 ${LOCALEDIR}/ko_KR.CP949/LC_MONETARY
101 ln -sf ../zh_CN.GB2312/LC_MONETARY \
102 ${LOCALEDIR}/zh_CN.GBK/LC_MONETARY
103.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.CP1131 \
9 be_BY.CP1251 \
10 be_BY.ISO8859-5 \
11 bg_BG.CP1251 \
12 ca_ES.ISO8859-1 \
13 cs_CZ.ISO8859-2 \
14 da_DK.ISO8859-1 \
15 de_AT.ISO8859-1 \
16 de_CH.ISO8859-1 \
17 de_DE.ISO8859-1 \
18 el_GR.ISO8859-7 \
19 en_AU.ISO8859-1 \
20 en_CA.ISO8859-1 \
21 en_GB.ISO8859-1 \
22 en_NZ.ISO8859-1 \
23 en_US.ISO8859-1 \
24 es_ES.ISO8859-1 \
25 et_EE.ISO8859-15 \
26 fi_FI.ISO8859-1 \
27 fr_BE.ISO8859-1 \
28 fr_CA.ISO8859-1 \
29 fr_FR.ISO8859-1 \
30 hi_IN.ISCII-DEV \
31 hr_HR.ISO8859-2 \
32 hu_HU.ISO8859-2 \
33 hy_AM.ARMSCII-8 \
34 is_IS.ISO8859-1 \
35 it_IT.ISO8859-1 \
36 ja_JP.eucJP \
37 ko_KR.eucKR \
38 lt_LT.ISO8859-13 \
39 nl_BE.ISO8859-1 \
40 nl_NL.ISO8859-1 \
41 no_NO.ISO8859-1 \
42 pl_PL.ISO8859-2 \
43 pt_BR.ISO8859-1 \
44 pt_PT.ISO8859-1 \
45 ro_RO.ISO8859-2 \
46 ru_RU.CP1251 \
47 ru_RU.CP866 \
48 ru_RU.ISO8859-5 \
49 ru_RU.KOI8-R \
50 sk_SK.ISO8859-2 \
51 sl_SI.ISO8859-2 \
52 sr_YU.ISO8859-2 \
53 sr_YU.ISO8859-5 \
54 sv_SE.ISO8859-1 \
55 tr_TR.ISO8859-9 \
56 uk_UA.ISO8859-5 \
57 uk_UA.KOI8-U \
58 zh_CN.eucCN \
59 zh_CN.GB18030 \
60 zh_CN.GB2312 \
61 zh_TW.Big5
62
63LOCALEDIR= ${DESTDIR}/usr/share/locale
64
65ASCIILINKS= en_AU en_CA en_GB en_NZ en_US
66LATIN15LINKS= af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ \
67 en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS is_IS it_IT \
68 it_CH nl_BE nl_NL no_NO pt_PT sv_SE
69
70CH_SRC= de_CH
71CH_LINKS= fr_CH it_CH
72
73.SUFFIXES: .src .out
74
75.src.out:
76 grep -v '^#' < ${.IMPSRC} > ${.TARGET}
77
78all: ${LOCALES:S/$/.out/g}
79
80afterinstall:
81.for lang in ${LOCALES}
82 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
83 ${LOCALEDIR}/${lang}/LC_MONETARY
84.endfor
85.for link in ${LATIN15LINKS}
86 ln -sf ../${link}.ISO8859-1/LC_MONETARY \
87 ${LOCALEDIR}/${link}.ISO8859-15/LC_MONETARY
88.endfor
89.for link in ${ASCIILINKS}
90 ln -sf ../${link}.ISO8859-1/LC_MONETARY \
91 ${LOCALEDIR}/${link}.US-ASCII/LC_MONETARY
92.endfor
93.for link in ${CH_LINKS}
94 ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \
95 ${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY
96.endfor
97 ln -sf ../ja_JP.eucJP/LC_MONETARY \
98 ${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY
99 ln -sf ../ko_KR.eucKR/LC_MONETARY \
100 ${LOCALEDIR}/ko_KR.CP949/LC_MONETARY
101 ln -sf ../zh_CN.GB2312/LC_MONETARY \
102 ${LOCALEDIR}/zh_CN.GBK/LC_MONETARY
103.include <bsd.prog.mk>