1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1995-11-03 14:53:53 +00:00
|
|
|
|
2001-11-05 06:58:02 +00:00
|
|
|
LOCALES= bg_BG.CP1251 \
|
2003-12-20 11:18:43 +00:00
|
|
|
be_BY.CP1131 \
|
|
|
|
be_BY.CP1251 \
|
|
|
|
be_BY.ISO8859-5 \
|
2002-12-30 09:09:58 +00:00
|
|
|
ca_ES.ISO8859-1 \
|
|
|
|
ca_ES.ISO8859-15 \
|
2001-11-05 06:58:02 +00:00
|
|
|
cs_CZ.ISO8859-2 \
|
2001-06-10 13:43:47 +00:00
|
|
|
de_DE.ISO8859-1 \
|
2001-12-25 10:57:03 +00:00
|
|
|
de_DE.ISO8859-15 \
|
2001-06-10 13:43:47 +00:00
|
|
|
el_GR.ISO8859-7 \
|
|
|
|
es_ES.ISO8859-1 \
|
2001-12-25 10:57:03 +00:00
|
|
|
es_ES.ISO8859-15 \
|
2001-06-10 13:43:47 +00:00
|
|
|
et_EE.ISO8859-15 \
|
2001-11-28 07:23:11 +00:00
|
|
|
hi_IN.ISCII-DEV \
|
2003-07-05 12:03:16 +00:00
|
|
|
hy_AM.ARMSCII-8 \
|
2001-06-10 13:43:47 +00:00
|
|
|
is_IS.ISO8859-1 \
|
2001-12-25 10:57:03 +00:00
|
|
|
is_IS.ISO8859-15 \
|
2004-01-29 16:28:22 +00:00
|
|
|
kk_KZ.PT154 \
|
2001-06-10 13:43:47 +00:00
|
|
|
la_LN.ISO8859-1 \
|
2001-12-25 10:57:03 +00:00
|
|
|
la_LN.ISO8859-15 \
|
2001-06-10 13:43:47 +00:00
|
|
|
la_LN.ISO8859-2 \
|
|
|
|
la_LN.ISO8859-4 \
|
2001-12-25 10:57:03 +00:00
|
|
|
la_LN.US-ASCII \
|
2001-06-10 13:43:47 +00:00
|
|
|
lt_LT.ISO8859-4 \
|
2002-10-25 22:02:10 +00:00
|
|
|
lt_LT.ISO8859-13 \
|
2002-07-14 13:17:12 +00:00
|
|
|
pl_PL.ISO8859-2 \
|
2003-06-06 23:59:18 +00:00
|
|
|
ru_RU.CP1251 \
|
2000-12-29 14:58:35 +00:00
|
|
|
ru_RU.CP866 \
|
2001-06-10 13:43:47 +00:00
|
|
|
ru_RU.ISO8859-5 \
|
2000-12-29 14:58:35 +00:00
|
|
|
ru_RU.KOI8-R \
|
2003-10-09 00:55:33 +00:00
|
|
|
sl_SI.ISO8859-2 \
|
2002-10-19 12:59:19 +00:00
|
|
|
sr_YU.ISO8859-5 \
|
2001-06-10 13:43:47 +00:00
|
|
|
sv_SE.ISO8859-1 \
|
2001-12-25 10:57:03 +00:00
|
|
|
sv_SE.ISO8859-15 \
|
2007-12-24 10:30:09 +00:00
|
|
|
tr_TR.ISO8859-9 \
|
2005-03-04 14:24:30 +00:00
|
|
|
uk_UA.CP1251 \
|
2001-12-20 20:48:31 +00:00
|
|
|
uk_UA.ISO8859-5 \
|
1999-10-18 21:57:33 +00:00
|
|
|
uk_UA.KOI8-U
|
1997-03-01 00:28:08 +00:00
|
|
|
|
2004-10-16 19:51:34 +00:00
|
|
|
LOCALEDIR= /usr/share/locale
|
|
|
|
|
|
|
|
.SUFFIXES: .src .out
|
|
|
|
|
|
|
|
.src.out:
|
|
|
|
colldef -I ${.CURDIR} -o ${.TARGET} ${.IMPSRC}
|
|
|
|
|
|
|
|
FILES= ${LOCALES:S/$/.out/}
|
|
|
|
FILESNAME= LC_COLLATE
|
|
|
|
|
|
|
|
.for locale in ${LOCALES}
|
|
|
|
FILESDIR_${locale}.out= ${LOCALEDIR}/${locale}
|
|
|
|
.if exists(${.CURDIR}/map.${locale:E})
|
|
|
|
${locale}.out: map.${locale:E}
|
|
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
CLEANFILES= ${FILES}
|
|
|
|
|
|
|
|
ENCODINGS= Big5 Big5HKSCS CP949 eucCN eucJP eucKR GB18030 GB2312 GBK \
|
2007-12-24 10:30:09 +00:00
|
|
|
ISO8859-1 ISO8859-2 ISO8859-15 SJIS US-ASCII UTF-8
|
1995-11-03 14:53:53 +00:00
|
|
|
|
2004-10-16 19:51:34 +00:00
|
|
|
ISO8859-1_Big5= is_IS:zh_TW
|
|
|
|
ISO8859-1_ISO8859-1= ${ISO8859-15_ISO8859-15} pt_PT:pt_BR
|
1995-11-03 14:53:53 +00:00
|
|
|
|
2004-08-28 12:52:31 +00:00
|
|
|
LATIN1LINKS= af_ZA da_DK en_AU en_CA en_GB en_NZ en_US eu_ES fi_FI \
|
2006-11-09 18:10:34 +00:00
|
|
|
fr_BE fr_CA fr_CH fr_FR it_CH it_IT nb_NO nl_BE nl_NL \
|
|
|
|
nn_NO no_NO pt_PT
|
2004-10-16 19:51:34 +00:00
|
|
|
ISO8859-15_ISO8859-15= de_DE:de_AT de_DE:de_CH ${LATIN1LINKS:C/^/la_LN:/}
|
1997-03-01 00:28:08 +00:00
|
|
|
|
2003-10-09 00:55:33 +00:00
|
|
|
LATIN2LINKS= hr_HR hu_HU ro_RO sr_YU
|
2004-10-16 19:51:34 +00:00
|
|
|
ISO8859-2_ISO8859-2= ${LATIN2LINKS:C/^/la_LN:/} cs_CZ:sk_SK
|
1996-12-30 22:28:51 +00:00
|
|
|
|
2004-10-16 19:51:34 +00:00
|
|
|
US-ASCII_Big5HKSCS= la_LN:zh_HK
|
|
|
|
US-ASCII_CP949= la_LN:ko_KR
|
|
|
|
US-ASCII_eucCN= la_LN:zh_CN
|
|
|
|
US-ASCII_eucJP= la_LN:ja_JP
|
|
|
|
US-ASCII_eucKR= la_LN:ko_KR
|
|
|
|
US-ASCII_GB18030= la_LN:zh_CN
|
|
|
|
US-ASCII_GB2312= la_LN:zh_CN
|
|
|
|
US-ASCII_GBK= la_LN:zh_CN
|
|
|
|
US-ASCII_SJIS= la_LN:ja_JP
|
|
|
|
|
|
|
|
ASCIILINKS= en_AU en_CA en_GB en_NZ en_US
|
|
|
|
US-ASCII_US-ASCII= ${ASCIILINKS:C/^/la_LN:/}
|
|
|
|
|
|
|
|
UTF8LINKS= af_ZA am_ET be_BY bg_BG ca_ES cs_CZ da_DK de_AT de_CH \
|
|
|
|
de_DE el_GR en_AU en_CA en_GB en_IE en_NZ en_US es_ES \
|
|
|
|
et_EE eu_ES fi_FI fr_BE \
|
2004-04-21 15:28:23 +00:00
|
|
|
fr_CA fr_CH fr_FR he_IL hr_HR hu_HU hy_AM is_IS it_CH it_IT \
|
2006-10-02 00:23:14 +00:00
|
|
|
ja_JP kk_KZ ko_KR lt_LT mn_MN \
|
2006-11-09 18:10:34 +00:00
|
|
|
nb_NO nl_BE nl_NL nn_NO no_NO pl_PL pt_BR pt_PT \
|
2004-04-21 15:28:23 +00:00
|
|
|
ro_RO ru_RU sk_SK sl_SI sr_YU sv_SE tr_TR uk_UA zh_CN zh_HK \
|
|
|
|
zh_TW
|
2004-10-16 19:51:34 +00:00
|
|
|
US-ASCII_UTF-8= ${UTF8LINKS:C/^/la_LN:/}
|
2004-03-27 08:14:15 +00:00
|
|
|
|
2004-10-16 19:51:34 +00:00
|
|
|
SYMLINKS=
|
|
|
|
.for enc1 in ${ENCODINGS}
|
|
|
|
.for enc2 in ${ENCODINGS}
|
|
|
|
.for lang_terr in ${${enc1}_${enc2}}
|
|
|
|
SYMLINKS+= ../${lang_terr:C/:.*$//}.${enc1}/${FILESNAME} \
|
|
|
|
${LOCALEDIR}/${lang_terr:C/^.*://}.${enc2}
|
1997-03-01 00:28:08 +00:00
|
|
|
.endfor
|
1999-01-21 19:41:38 +00:00
|
|
|
.endfor
|
2004-03-27 08:14:15 +00:00
|
|
|
.endfor
|
1995-11-03 14:53:53 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|