diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2002-06-30 07:05:51 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2002-06-30 07:05:51 +0000 |
commit | 6a1f03946908c27f39bd67cce4cf8e01df631394 (patch) | |
tree | 92079efb714eda1ad2728096477e7aaa92c11dd8 /misc/utf8locale | |
parent | 1ddefb0db61bb4209975abf6fb115145fefb00cc (diff) | |
download | ports-6a1f03946908c27f39bd67cce4cf8e01df631394.tar.gz ports-6a1f03946908c27f39bd67cce4cf8e01df631394.zip |
Notes
Diffstat (limited to 'misc/utf8locale')
-rw-r--r-- | misc/utf8locale/Makefile | 27 | ||||
-rw-r--r-- | misc/utf8locale/distinfo | 1 | ||||
-rw-r--r-- | misc/utf8locale/pkg-comment | 1 | ||||
-rw-r--r-- | misc/utf8locale/pkg-descr | 6 | ||||
-rw-r--r-- | misc/utf8locale/pkg-plist | 27 |
5 files changed, 62 insertions, 0 deletions
diff --git a/misc/utf8locale/Makefile b/misc/utf8locale/Makefile new file mode 100644 index 000000000000..274e7b6e5fe0 --- /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 000000000000..49d7bbd7e846 --- /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 000000000000..01e684d845bc --- /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 000000000000..d5762be47412 --- /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 000000000000..052d1db069aa --- /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 |