summaryrefslogtreecommitdiff
path: root/misc/utf8locale/Makefile
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 /misc/utf8locale/Makefile
parentUpdate to version 2.18 (diff)
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
Notes
Notes: svn path=/head/; revision=64873
Diffstat (limited to 'misc/utf8locale/Makefile')
-rw-r--r--misc/utf8locale/Makefile12
1 files changed, 9 insertions, 3 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 \