1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1995-11-03 14:39:11 +00:00
|
|
|
|
2004-03-27 08:14:15 +00:00
|
|
|
LOCALES= UTF-8 \
|
|
|
|
am_ET.UTF-8 \
|
2003-12-20 11:18:43 +00:00
|
|
|
be_BY.CP1131 \
|
2003-08-05 05:42:08 +00:00
|
|
|
bg_BG.CP1251 \
|
2001-11-05 07:08:39 +00:00
|
|
|
el_GR.ISO8859-7 \
|
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-12-25 10:57:03 +00:00
|
|
|
ja_JP.SJIS \
|
|
|
|
ja_JP.eucJP \
|
2004-01-29 16:28:22 +00:00
|
|
|
kk_KZ.PT154 \
|
2003-08-08 13:48:15 +00:00
|
|
|
ko_KR.CP949 \
|
2001-06-10 13:25:32 +00:00
|
|
|
ko_KR.eucKR \
|
|
|
|
la_LN.ISO8859-1 \
|
2001-12-25 10:57:03 +00:00
|
|
|
la_LN.ISO8859-15 \
|
2001-06-10 13:25:32 +00:00
|
|
|
la_LN.ISO8859-2 \
|
|
|
|
la_LN.ISO8859-4 \
|
2001-12-25 10:57:03 +00:00
|
|
|
la_LN.US-ASCII \
|
2002-10-25 22:02:10 +00:00
|
|
|
lt_LT.ISO8859-13 \
|
2000-12-29 14:58:35 +00:00
|
|
|
ru_RU.CP866 \
|
2001-06-10 13:25:32 +00:00
|
|
|
ru_RU.ISO8859-5 \
|
2000-12-29 14:58:35 +00:00
|
|
|
ru_RU.KOI8-R \
|
1999-10-18 21:49:02 +00:00
|
|
|
uk_UA.KOI8-U \
|
2001-06-10 13:25:32 +00:00
|
|
|
zh_CN.eucCN \
|
2003-07-29 16:12:56 +00:00
|
|
|
zh_CN.GB18030 \
|
2003-11-05 23:39:03 +00:00
|
|
|
zh_CN.GB2312 \
|
2003-06-01 15:51:27 +00:00
|
|
|
zh_CN.GBK \
|
2003-12-19 07:04:56 +00:00
|
|
|
zh_HK.Big5HKSCS \
|
1999-06-08 02:25:19 +00:00
|
|
|
zh_TW.Big5
|
1997-02-28 19:51:39 +00:00
|
|
|
|
2004-10-17 09:48:23 +00:00
|
|
|
LOCALEDIR= /usr/share/locale
|
|
|
|
|
|
|
|
.SUFFIXES: .src .out
|
|
|
|
|
|
|
|
.src.out:
|
|
|
|
mklocale -o ${.TARGET} ${.IMPSRC}
|
|
|
|
|
|
|
|
FILES= ${LOCALES:S/$/.out/}
|
|
|
|
FILESNAME= LC_CTYPE
|
|
|
|
|
|
|
|
.for locale in ${LOCALES}
|
|
|
|
FILESDIR_${locale}.out= ${LOCALEDIR}/${locale}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
CLEANFILES= ${FILES}
|
|
|
|
|
|
|
|
ENCODINGS= CP1251 ISO8859-1 ISO8859-2 ISO8859-4 ISO8859-5 ISO8859-9 \
|
|
|
|
ISO8859-15 US-ASCII UTF-8
|
1995-11-03 14:39:11 +00:00
|
|
|
|
2001-12-25 10:57:03 +00:00
|
|
|
ASCIILINKS= en_AU en_CA en_GB en_NZ en_US
|
2004-10-17 09:48:23 +00:00
|
|
|
US-ASCII_US-ASCII= ${ASCIILINKS:C/^/la_LN:/}
|
|
|
|
|
2002-12-30 09:09:58 +00:00
|
|
|
LATIN1XLINKS= af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ \
|
2004-08-28 12:52:31 +00:00
|
|
|
en_US es_ES eu_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH \
|
|
|
|
it_IT \
|
2002-12-30 09:09:58 +00:00
|
|
|
nl_BE nl_NL no_NO pt_PT sv_SE
|
2002-04-05 15:03:13 +00:00
|
|
|
LATIN1LINKS= ${LATIN1XLINKS} pt_BR
|
2004-10-17 09:48:23 +00:00
|
|
|
ISO8859-1_ISO8859-1= ${LATIN1LINKS:C/^/la_LN:/}
|
|
|
|
|
2002-04-05 15:03:13 +00:00
|
|
|
LATIN15LINKS= ${LATIN1XLINKS} et_EE
|
2004-10-17 09:48:23 +00:00
|
|
|
ISO8859-15_ISO8859-15= ${LATIN15LINKS:C/^/la_LN:/}
|
|
|
|
|
2002-10-19 13:04:05 +00:00
|
|
|
LATIN2LINKS= cs_CZ hr_HR hu_HU pl_PL sl_SI sr_YU ro_RO sk_SK
|
2004-10-17 09:48:23 +00:00
|
|
|
ISO8859-2_ISO8859-2= ${LATIN2LINKS:C/^/la_LN:/}
|
|
|
|
|
2001-12-25 10:57:03 +00:00
|
|
|
LATIN4LINKS= lt_LT
|
2004-10-17 09:48:23 +00:00
|
|
|
ISO8859-4_ISO8859-4= ${LATIN4LINKS:C/^/la_LN:/}
|
|
|
|
|
2003-12-20 11:18:43 +00:00
|
|
|
LATIN5LINKS= sr_YU uk_UA be_BY
|
2004-10-17 09:48:23 +00:00
|
|
|
ISO8859-5_ISO8859-5= ${LATIN5LINKS:C/^/ru_RU:/}
|
|
|
|
|
2005-03-04 14:24:30 +00:00
|
|
|
CP1251LINKS= ru_RU be_BY uk_UA
|
2004-10-17 09:48:23 +00:00
|
|
|
CP1251_CP1251= ${CP1251LINKS:C/^/bg_BG:/}
|
|
|
|
|
2004-03-27 08:14:15 +00:00
|
|
|
UTF8LINKS= af_ZA be_BY bg_BG ca_ES cs_CZ da_DK de_AT de_CH de_DE el_GR \
|
2004-08-28 12:52:31 +00:00
|
|
|
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 \
|
|
|
|
ja_JP kk_KZ ko_KR lt_LT nl_BE nl_NL no_NO pl_PL pt_BR pt_PT \
|
|
|
|
ro_RO ru_RU sk_SK sl_SI sr_YU sv_SE tr_TR uk_UA zh_CN zh_HK \
|
|
|
|
zh_TW
|
2004-10-17 09:48:23 +00:00
|
|
|
UTF-8_UTF-8= ${UTF8LINKS:C/^/:/}
|
2001-12-20 20:48:31 +00:00
|
|
|
|
2004-10-17 09:48:23 +00:00
|
|
|
US-ASCII_ISO8859-9= la_LN:tr_TR
|
1995-11-03 14:39:11 +00:00
|
|
|
|
2004-10-17 09:48:23 +00:00
|
|
|
SYMLINKS=
|
|
|
|
.for enc1 in ${ENCODINGS}
|
|
|
|
.for enc2 in ${ENCODINGS}
|
|
|
|
.for lang_terr in ${${enc1}_${enc2}}
|
|
|
|
SYMLINKS+= ../${lang_terr:C/:.*$//:C/.+$/&./}${enc1}/${FILESNAME} \
|
|
|
|
${LOCALEDIR}/${lang_terr:C/^.*://}.${enc2}
|
2003-06-06 22:39:24 +00:00
|
|
|
.endfor
|
2001-06-10 18:53:43 +00:00
|
|
|
.endfor
|
2004-03-27 08:14:15 +00:00
|
|
|
.endfor
|
1995-11-03 14:39:11 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|