1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add utf8locale 1.0, UTF-8 locales support.

Reviewed by:	silence on i18n@
This commit is contained in:
Hye-Shik Chang 2002-06-30 07:05:51 +00:00
parent 1ddefb0db6
commit 6a1f039469
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62209
6 changed files with 63 additions and 0 deletions

View File

@ -287,6 +287,7 @@
SUBDIR += unclutter
SUBDIR += upclient
SUBDIR += us-zipcodes
SUBDIR += utf8locale
SUBDIR += vbidecode
SUBDIR += vera
SUBDIR += videotext

27
misc/utf8locale/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: utf8locale
# Date created: 29 June 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= utf8locale
PORTVERSION= 1.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= perky
MAINTAINER= perky@FreeBSD.org
LANGS= en_US ko_KR ja_JP
BASELOCALEDIR= ${DESTDIR}/usr/share/locale
PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \
LANGS="${LANGS}"
post-install:
.for lang in ${LANGS}
-${LN} -sf ${PREFIX}/share/locale/${lang}.UTF-8 \
${BASELOCALEDIR}/${lang}.UTF-8
.endfor
.include <bsd.port.mk>

1
misc/utf8locale/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (utf8locale-1.0.tar.gz) = 512aba782fe5d88f313cfe32935709c5

View File

@ -0,0 +1 @@
UTF-8 locales support

View File

@ -0,0 +1,6 @@
This package offers UTF-8 locales for several languages.
Currently supported locales are:
o en_US.UTF-8
o ko_KR.UTF-8
o ja_JP.UTF-8

27
misc/utf8locale/pkg-plist Normal file
View File

@ -0,0 +1,27 @@
share/locale/en_US.UTF-8/LC_COLLATE
share/locale/en_US.UTF-8/LC_CTYPE
share/locale/en_US.UTF-8/LC_MESSAGES
share/locale/en_US.UTF-8/LC_MONETARY
share/locale/en_US.UTF-8/LC_NUMERIC
share/locale/en_US.UTF-8/LC_TIME
share/locale/ja_JP.UTF-8/LC_COLLATE
share/locale/ja_JP.UTF-8/LC_CTYPE
share/locale/ja_JP.UTF-8/LC_MESSAGES
share/locale/ja_JP.UTF-8/LC_MONETARY
share/locale/ja_JP.UTF-8/LC_NUMERIC
share/locale/ja_JP.UTF-8/LC_TIME
share/locale/ko_KR.UTF-8/LC_COLLATE
share/locale/ko_KR.UTF-8/LC_CTYPE
share/locale/ko_KR.UTF-8/LC_MESSAGES
share/locale/ko_KR.UTF-8/LC_MONETARY
share/locale/ko_KR.UTF-8/LC_NUMERIC
share/locale/ko_KR.UTF-8/LC_TIME
share/locale/la_LN.UTF-8/LC_COLLATE
share/locale/la_LN.UTF-8/LC_CTYPE
@dirrm share/locale/la_LN.UTF-8
@dirrm share/locale/ko_KR.UTF-8
@dirrm share/locale/ja_JP.UTF-8
@dirrm share/locale/en_US.UTF-8
@unexec rmdir %D/share/locale 2>/dev/null || true
@exec for lang in %%LANGS%%; do ln -sf %D/share/locale/$lang.UTF-8 %%BASELOCALEDIR%%/; done
@unexec for lang in %%LANGS%%; do rm -f %%BASELOCALEDIR%%/$lang.UTF-8; done