summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-12-22 15:12:29 +0000
committertaca <taca@pkgsrc.org>2010-12-22 15:12:29 +0000
commita24657c5af8a255ebcb17262f92fb09f7282b645 (patch)
treee62e985a703ea9b4c873dd1f67f9e506d2a5bba4 /converters
parente871224f5612fa830f134b6a7dc155382c513bc2 (diff)
downloadpkgsrc-a24657c5af8a255ebcb17262f92fb09f7282b645.tar.gz
Importing pear-I18N_UnicodeNormalizer version 1.0.0.
PHP classes to provide Unicode Normalization. Performs the 4 normalizations: NFD: Canonical Decomposition NFC: Canonical Decomposition, followed by Canonical Composition NFKD: Compatibility Decomposition NFKC: Compatibility Decomposition, followed by Canonical Composition Complies with the official Unicode.org regression test. Uses UTF8 binary strings natively but can normalize a string in any UTF format. Fully tested with phpUnit. Code coverage test close to 100%.
Diffstat (limited to 'converters')
-rw-r--r--converters/pear-I18n_UnicodeNormalizer/DESCR12
-rw-r--r--converters/pear-I18n_UnicodeNormalizer/Makefile16
-rw-r--r--converters/pear-I18n_UnicodeNormalizer/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/converters/pear-I18n_UnicodeNormalizer/DESCR b/converters/pear-I18n_UnicodeNormalizer/DESCR
new file mode 100644
index 00000000000..ca88ccb1280
--- /dev/null
+++ b/converters/pear-I18n_UnicodeNormalizer/DESCR
@@ -0,0 +1,12 @@
+PHP classes to provide Unicode Normalization.
+
+Performs the 4 normalizations:
+
+ NFD: Canonical Decomposition
+ NFC: Canonical Decomposition, followed by Canonical Composition
+ NFKD: Compatibility Decomposition
+ NFKC: Compatibility Decomposition, followed by Canonical Composition
+
+Complies with the official Unicode.org regression test. Uses UTF8 binary
+strings natively but can normalize a string in any UTF format. Fully tested
+with phpUnit. Code coverage test close to 100%.
diff --git a/converters/pear-I18n_UnicodeNormalizer/Makefile b/converters/pear-I18n_UnicodeNormalizer/Makefile
new file mode 100644
index 00000000000..48f117f6cd8
--- /dev/null
+++ b/converters/pear-I18n_UnicodeNormalizer/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/12/22 15:12:29 taca Exp $
+
+DISTNAME= I18N_UnicodeNormalizer-1.0.0
+CATEGORIES+= converters
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= PHP classes to provide Unicode Normalization
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+LICENSE= 2-clause-bsd
+
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.0:../../converters/php-mbstring
+
+.include "../../lang/php/pear.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/pear-I18n_UnicodeNormalizer/distinfo b/converters/pear-I18n_UnicodeNormalizer/distinfo
new file mode 100644
index 00000000000..88d2f32ee8f
--- /dev/null
+++ b/converters/pear-I18n_UnicodeNormalizer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/12/22 15:12:29 taca Exp $
+
+SHA1 (pear/I18N_UnicodeNormalizer-1.0.0.tgz) = 9386143d6d89505d2c43c33a67d18cd363fafd09
+RMD160 (pear/I18N_UnicodeNormalizer-1.0.0.tgz) = e998497670f415fdc5a395403e53614a71ad057d
+Size (pear/I18N_UnicodeNormalizer-1.0.0.tgz) = 2154776 bytes