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