aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-08-23 17:26:59 +0800
committerperky <perky@FreeBSD.org>2002-08-23 17:26:59 +0800
commit7603f4d0befdacbad99312a32f6e0038de9e217d (patch)
treef13d466281743fcefae64aea21e58b59e4e37c79 /misc
parent12f311039ad4e16e188691232196bde4b4b23aaf (diff)
downloadfreebsd-ports-gnome-7603f4d0befdacbad99312a32f6e0038de9e217d.tar.gz
freebsd-ports-gnome-7603f4d0befdacbad99312a32f6e0038de9e217d.tar.zst
freebsd-ports-gnome-7603f4d0befdacbad99312a32f6e0038de9e217d.zip
o Update to 1.1
o Add SWIDTH* support for recent -current world o Add {ru_RU,zh_CN,zh_TW}.UTF-8 locales support
Diffstat (limited to 'misc')
-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