diff options
author | wosch <wosch@FreeBSD.org> | 1997-02-28 19:51:39 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1997-02-28 19:51:39 +0000 |
commit | 7a822c7bd857834be407b07d8b59df7d7e537b52 (patch) | |
tree | 51c453dda3c7afb490dd998d1f10366d8c97c22f /usr.bin | |
parent | a55ffe56977ba99cc67b3ec026e9d99c6ba268fd (diff) | |
download | FreeBSD-src-7a822c7bd857834be407b07d8b59df7d7e537b52.zip FreeBSD-src-7a822c7bd857834be407b07d8b59df7d7e537b52.tar.gz |
Add lt_LN.ISO_8859-2.src.
Use '.for' loop from make(1), not sh(1) 'for' loops.
Submitted by: Slaven ReziƦ (TomiƦ) <eserte@cs.tu-berlin.de>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mklocale/data/Makefile | 33 | ||||
-rw-r--r-- | usr.bin/mklocale/data/lt_LN.ISO_8859-2.src | 79 |
2 files changed, 102 insertions, 10 deletions
diff --git a/usr.bin/mklocale/data/Makefile b/usr.bin/mklocale/data/Makefile index 59f5139..d8ee4f0 100644 --- a/usr.bin/mklocale/data/Makefile +++ b/usr.bin/mklocale/data/Makefile @@ -1,10 +1,16 @@ -# $Id: Makefile,v 1.5 1997/02/22 19:56:11 peter Exp $ +# $Id: Makefile,v 1.6 1997/02/22 22:50:54 ache Exp $ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} -LOCALES= ja_JP.EUC ko_KR.EUC lt_LN.ASCII lt_LN.ISO_8859-1 \ - ru_SU.KOI8-R ru_SU.CP866 +LOCALES= ja_JP.EUC \ + ko_KR.EUC \ + lt_LN.ASCII \ + lt_LN.ISO_8859-1 \ + lt_LN.ISO_8859-2 \ + ru_SU.CP866 \ + ru_SU.KOI8-R + LOCALEDIR= ${DESTDIR}/usr/share/locale .if exists(${.OBJDIR}/..) @@ -18,6 +24,8 @@ LATIN1LINKS = \ fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ pt_PT sv_SE +LATIN2LINKS = hr_HR + .SUFFIXES: .src .out .src.out: @@ -26,12 +34,17 @@ LATIN1LINKS = \ all: ${LOCALES:S/$/.out/g} afterinstall: - for locale in ${LOCALES}; do \ - ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$locale.out ${LOCALEDIR}/$$locale/LC_CTYPE; \ - done - for l in ${LATIN1LINKS}; do \ - ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_CTYPE; \ - done +.for locales in ${LOCALES} + ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} \ + ${locales}.out ${LOCALEDIR}/${locales}/LC_CTYPE +.endfor +.for link in ${LATIN1LINKS} + ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_CTYPE +.endfor +.for link in ${LATIN2LINKS} + ln -fs ../lt_LN.ISO_8859-2/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-2/LC_CTYPE +.endfor .include <bsd.prog.mk> diff --git a/usr.bin/mklocale/data/lt_LN.ISO_8859-2.src b/usr.bin/mklocale/data/lt_LN.ISO_8859-2.src new file mode 100644 index 0000000..3f9ad91 --- /dev/null +++ b/usr.bin/mklocale/data/lt_LN.ISO_8859-2.src @@ -0,0 +1,79 @@ +/* + * LOCALE_CTYPE for the iso_8859_2 Locale + * + * $Id$ + */ + +ENCODING "NONE" +VARIABLE ISO 8859-2 Latin-2 character set + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe +CONTROL 0x00 - 0x1f 0x7f - 0x9f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0xa0 - 0xff +LOWER 'a' - 'z' + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xdf - 0xf6 0xf8 - 0xfe +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e + 0xa2 0xa4 0xa7 0xa8 0xad 0xb0 0xb2 0xb4 0xb7 0xb8 0xbd + 0xd7 0xf7 0xff +SPACE 0x09 - 0x0d 0x20 0xa0 +UPPER 'A' - 'Z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xc0 - 0xd6 0xd8 - 0xde +XDIGIT 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' 0xa0 +PRINT 0x20 - 0x7e 0xa0 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xa1 0xb1> +MAPLOWER <0xa3 0xb3> +MAPLOWER <0xa5 0xb5> +MAPLOWER <0xa6 0xb6> +MAPLOWER <0xa9 - 0xac : 0xb9> +MAPLOWER <0xae 0xbe> +MAPLOWER <0xaf 0xbf> +MAPLOWER <0xb1 0xb1> +MAPLOWER <0xb3 0xb3> +MAPLOWER <0xb5 0xb5> +MAPLOWER <0xb6 0xb6> +MAPLOWER <0xb9 - 0xbc : 0xb9> +MAPLOWER <0xbe 0xbe> +MAPLOWER <0xbf 0xbf> +MAPLOWER <0xc0 - 0xd6 : 0xe0> +MAPLOWER <0xd8 - 0xde : 0xf8> +MAPLOWER <0xdf - 0xf6 : 0xdf> +MAPLOWER <0xf8 - 0xfe : 0xf8> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xa1 0xa1> +MAPUPPER <0xa3 0xa3> +MAPUPPER <0xa5 0xa5> +MAPUPPER <0xa6 0xa6> +MAPUPPER <0xa9 - 0xac : 0xa9> +MAPUPPER <0xae 0xae> +MAPUPPER <0xaf 0xaf> +MAPUPPER <0xb1 0xa1> +MAPUPPER <0xb3 0xa3> +MAPUPPER <0xb5 0xa5> +MAPUPPER <0xb6 0xa6> +MAPUPPER <0xb9 - 0xbc : 0xa9> +MAPUPPER <0xbe 0xae> +MAPUPPER <0xbf 0xaf> +MAPUPPER <0xc0 - 0xd6 : 0xc0> +MAPUPPER <0xd8 - 0xdf : 0xd8> +MAPUPPER <0xe0 - 0xf6 : 0xc0> +MAPUPPER <0xf8 - 0xfe : 0xd8> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10> |