aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-08-23 09:26:59 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-08-23 09:26:59 +0000
commit2d18ea767b536aeef8cdcce1e420c30c16a145a0 (patch)
tree78c4f2bfdce6a5870c70eeb373d1ac32a9919ebe
parentda5a8e1bef1a7c546d834fd9563f4b1e5df64887 (diff)
downloadports-2d18ea767b536aeef8cdcce1e420c30c16a145a0.tar.gz
ports-2d18ea767b536aeef8cdcce1e420c30c16a145a0.zip
Notes
-rw-r--r--misc/utf8locale/Makefile12
-rw-r--r--misc/utf8locale/distinfo2
-rw-r--r--misc/utf8locale/pkg-descr3
-rw-r--r--misc/utf8locale/pkg-plist18
4 files changed, 31 insertions, 4 deletions
diff --git a/misc/utf8locale/Makefile b/misc/utf8locale/Makefile
index 274e7b6e5fe0..927d07e968c0 100644
--- a/misc/utf8locale/Makefile
+++ b/misc/utf8locale/Makefile
@@ -6,18 +6,24 @@
#
PORTNAME= utf8locale
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ http://people.freebsd.org/~perky/distfiles/
MASTER_SITE_SUBDIR= perky
MAINTAINER= perky@FreeBSD.org
-LANGS= en_US ko_KR ja_JP
+LANGS= en_US ko_KR ja_JP ru_RU zh_CN zh_TW
BASELOCALEDIR= ${DESTDIR}/usr/share/locale
PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \
LANGS="${LANGS}"
+_HAVE_SWIDTH!= grep _CTYPE_SW ${DESTDIR}/usr/include/ctype.h || true
+.if empty(_HAVE_SWIDTH)
+PKGNAMESUFFIX= -without-swidth
+.endif
+
post-install:
.for lang in ${LANGS}
-${LN} -sf ${PREFIX}/share/locale/${lang}.UTF-8 \
diff --git a/misc/utf8locale/distinfo b/misc/utf8locale/distinfo
index 49d7bbd7e846..7cd935057731 100644
--- a/misc/utf8locale/distinfo
+++ b/misc/utf8locale/distinfo
@@ -1 +1 @@
-MD5 (utf8locale-1.0.tar.gz) = 512aba782fe5d88f313cfe32935709c5
+MD5 (utf8locale-1.1.tar.gz) = 7470325ca04d7479f9c4647ad4d3a54c
diff --git a/misc/utf8locale/pkg-descr b/misc/utf8locale/pkg-descr
index d5762be47412..e45d3835ec78 100644
--- a/misc/utf8locale/pkg-descr
+++ b/misc/utf8locale/pkg-descr
@@ -4,3 +4,6 @@ Currently supported locales are:
o en_US.UTF-8
o ko_KR.UTF-8
o ja_JP.UTF-8
+ o ru_RU.UTF-8
+ o zh_CN.UTF-8
+ o zh_TW.UTF-8
diff --git a/misc/utf8locale/pkg-plist b/misc/utf8locale/pkg-plist
index 052d1db069aa..490afaf386e7 100644
--- a/misc/utf8locale/pkg-plist
+++ b/misc/utf8locale/pkg-plist
@@ -16,9 +16,27 @@ 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/ru_RU.UTF-8/LC_COLLATE
+share/locale/ru_RU.UTF-8/LC_CTYPE
+share/locale/ru_RU.UTF-8/LC_MONETARY
+share/locale/ru_RU.UTF-8/LC_MESSAGES
+share/locale/ru_RU.UTF-8/LC_TIME
+share/locale/zh_CN.UTF-8/LC_COLLATE
+share/locale/zh_CN.UTF-8/LC_CTYPE
+share/locale/zh_CN.UTF-8/LC_MONETARY
+share/locale/zh_CN.UTF-8/LC_MESSAGES
+share/locale/zh_CN.UTF-8/LC_TIME
+share/locale/zh_TW.UTF-8/LC_COLLATE
+share/locale/zh_TW.UTF-8/LC_CTYPE
+share/locale/zh_TW.UTF-8/LC_MONETARY
+share/locale/zh_TW.UTF-8/LC_MESSAGES
+share/locale/zh_TW.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/zh_TW.UTF-8
+@dirrm share/locale/zh_CN.UTF-8
+@dirrm share/locale/ru_RU.UTF-8
@dirrm share/locale/ko_KR.UTF-8
@dirrm share/locale/ja_JP.UTF-8
@dirrm share/locale/en_US.UTF-8