aboutsummaryrefslogtreecommitdiffstats
path: root/misc/utf8locale
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-11-02 15:16:41 +0800
committerperky <perky@FreeBSD.org>2002-11-02 15:16:41 +0800
commitbb593e89af4960fc98e6e993bc5234a572a2850d (patch)
tree05677bed3655d6ea851093d213ecced3abd3638e /misc/utf8locale
parent43f072906ec84cbc1464f0efcf58b693dd69cbf9 (diff)
downloadfreebsd-ports-gnome-bb593e89af4960fc98e6e993bc5234a572a2850d.tar.gz
freebsd-ports-gnome-bb593e89af4960fc98e6e993bc5234a572a2850d.tar.zst
freebsd-ports-gnome-bb593e89af4960fc98e6e993bc5234a572a2850d.zip
Update to 1.4
Changes from 1.3: o Added {fr_CH,it_CH,lt_LT,sr_YU}.UTF-8 locales. o Drop DIGIT, XDIGIT, TODIGIT classes from characters >= 128 [1] Pointed out by: ache [1]
Diffstat (limited to 'misc/utf8locale')
-rw-r--r--misc/utf8locale/Makefile14
-rw-r--r--misc/utf8locale/distinfo2
2 files changed, 11 insertions, 5 deletions
diff --git a/misc/utf8locale/Makefile b/misc/utf8locale/Makefile
index 787657d0d48a..a4ad2be9ebc6 100644
--- a/misc/utf8locale/Makefile
+++ b/misc/utf8locale/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= utf8locale
-PORTVERSION= 1.3
+PORTVERSION= 1.4
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~perky/distfiles/
@@ -15,9 +15,10 @@ MASTER_SITE_SUBDIR= perky
MAINTAINER= perky@FreeBSD.org
LANGS= af_ZA bg_BG cs_CZ da_DK de_AT de_CH de_DE el_GR en_AU en_CA \
- en_GB en_NZ en_US es_ES et_EE fi_FI fr_BE fr_CA fr_FR hr_HR \
- hu_HU is_IS it_IT ja_JP ko_KR nl_BE nl_NL no_NO pl_PL pt_BR \
- pt_PT ro_RO ru_RU sk_SK sl_SI sv_SE tr_TR uk_UA zh_CN zh_TW
+ en_GB en_NZ en_US es_ES et_EE fi_FI fr_BE fr_CA fr_CH fr_FR \
+ hr_HR hu_HU is_IS it_CH it_IT ja_JP ko_KR lt_LT nl_BE nl_NL \
+ no_NO pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sl_SI sr_YU sv_SE \
+ tr_TR uk_UA zh_CN zh_TW
BASELOCALEDIR= ${DESTDIR}/usr/share/locale
PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \
LANGS="${LANGS}"
@@ -29,6 +30,11 @@ _HAVE_SWIDTH!= ${GREP} _CTYPE_SW ${DESTDIR}/usr/include/ctype.h 2>/dev/null \
|| ${TRUE}
.if empty(_HAVE_SWIDTH)
PKGNAMESUFFIX= -without-swidth
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,^SWIDTH.*$$,,g' \
+ -e 's,UTF-8,UTF2,g' ${WRKSRC}/mklocale/la_LN.UTF-8.src
.endif
pre-install:
diff --git a/misc/utf8locale/distinfo b/misc/utf8locale/distinfo
index 2d3500c6bbb5..d283b4de7373 100644
--- a/misc/utf8locale/distinfo
+++ b/misc/utf8locale/distinfo
@@ -1 +1 @@
-MD5 (utf8locale-1.3.tar.gz) = 5df22b22ab361760b3a9f66f99c928b5
+MD5 (utf8locale-1.4.tar.gz) = 986decafff121fc5f0e4ca66d76c5752