summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-06-30 07:05:51 +0000
committerperky <perky@FreeBSD.org>2002-06-30 07:05:51 +0000
commita1251d6bf814af60b28617d1f9158c3349995c39 (patch)
treeaf1af833815d8723c309220db1555e09d0f43852 /misc
parentd022e832aa0ecbcb1ee2303552e2db79bb6fa3cd (diff)
downloadFreeBSD-ports-a1251d6bf814af60b28617d1f9158c3349995c39.zip
FreeBSD-ports-a1251d6bf814af60b28617d1f9158c3349995c39.tar.gz
Add utf8locale 1.0, UTF-8 locales support.
Reviewed by: silence on i18n@
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/utf8locale/Makefile27
-rw-r--r--misc/utf8locale/distinfo1
-rw-r--r--misc/utf8locale/pkg-comment1
-rw-r--r--misc/utf8locale/pkg-descr6
-rw-r--r--misc/utf8locale/pkg-plist27
6 files changed, 63 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 04c0bb6..caf9a032 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -287,6 +287,7 @@
SUBDIR += unclutter
SUBDIR += upclient
SUBDIR += us-zipcodes
+ SUBDIR += utf8locale
SUBDIR += vbidecode
SUBDIR += vera
SUBDIR += videotext
diff --git a/misc/utf8locale/Makefile b/misc/utf8locale/Makefile
new file mode 100644
index 0000000..274e7b6
--- /dev/null
+++ b/misc/utf8locale/Makefile
@@ -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>
diff --git a/misc/utf8locale/distinfo b/misc/utf8locale/distinfo
new file mode 100644
index 0000000..49d7bbd
--- /dev/null
+++ b/misc/utf8locale/distinfo
@@ -0,0 +1 @@
+MD5 (utf8locale-1.0.tar.gz) = 512aba782fe5d88f313cfe32935709c5
diff --git a/misc/utf8locale/pkg-comment b/misc/utf8locale/pkg-comment
new file mode 100644
index 0000000..01e684d
--- /dev/null
+++ b/misc/utf8locale/pkg-comment
@@ -0,0 +1 @@
+UTF-8 locales support
diff --git a/misc/utf8locale/pkg-descr b/misc/utf8locale/pkg-descr
new file mode 100644
index 0000000..d5762be
--- /dev/null
+++ b/misc/utf8locale/pkg-descr
@@ -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
diff --git a/misc/utf8locale/pkg-plist b/misc/utf8locale/pkg-plist
new file mode 100644
index 0000000..052d1db
--- /dev/null
+++ b/misc/utf8locale/pkg-plist
@@ -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
OpenPOWER on IntegriCloud