aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-05-29 04:09:14 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-05-29 04:09:14 +0000
commitcb78477dbe7595cc8cc7f7c995b801e11441d992 (patch)
tree5ac855e5d41f07de3e6797418c094cf852dadea0 /converters
parentd6af2f852c226f40ba4ed695e23c117b2d263fc0 (diff)
downloadports-cb78477dbe7595cc8cc7f7c995b801e11441d992.tar.gz
ports-cb78477dbe7595cc8cc7f7c995b801e11441d992.zip
Add p5-Encode-JIS2K 0.02, JIS X 0212 (aka JIS 2000) Encodings.
PR: ports/98039 Submitted by: Rong-En Fan <rafan@infor.org>
Notes
Notes: svn path=/head/; revision=163789
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/p5-Encode-JIS2K/Makefile26
-rw-r--r--converters/p5-Encode-JIS2K/distinfo3
-rw-r--r--converters/p5-Encode-JIS2K/pkg-descr16
-rw-r--r--converters/p5-Encode-JIS2K/pkg-plist9
5 files changed, 55 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 5f6016a57f22..3820628f894e 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -51,6 +51,7 @@
SUBDIR += p5-Convert-UUlib
SUBDIR += p5-Cstools
SUBDIR += p5-Encode
+ SUBDIR += p5-Encode-JIS2K
SUBDIR += p5-Encode-compat
SUBDIR += p5-JSON
SUBDIR += p5-MIME-Base32
diff --git a/converters/p5-Encode-JIS2K/Makefile b/converters/p5-Encode-JIS2K/Makefile
new file mode 100644
index 000000000000..e2ee793712bb
--- /dev/null
+++ b/converters/p5-Encode-JIS2K/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Encode-JIS2K
+# Date created: May 21 2006
+# Whom: Rong-En Fan <rafan@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Encode-JIS2K
+PORTVERSION= 0.02
+CATEGORIES= converters perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Encode
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= rafan@infor.org
+COMMENT= JIS X 0212 (aka JIS 2000) Encodings
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+IGNORE= requires Perl 5.7.3 or above
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/converters/p5-Encode-JIS2K/distinfo b/converters/p5-Encode-JIS2K/distinfo
new file mode 100644
index 000000000000..f9d6db8169da
--- /dev/null
+++ b/converters/p5-Encode-JIS2K/distinfo
@@ -0,0 +1,3 @@
+MD5 (Encode-JIS2K-0.02.tar.gz) = 00e73ee943fb2f882b00b7b61e4c9db1
+SHA256 (Encode-JIS2K-0.02.tar.gz) = 5d718add5857f37fc270f24360bc9d100b72e0e13a11ca3149fe4e4d7c7cc4bf
+SIZE (Encode-JIS2K-0.02.tar.gz) = 401178
diff --git a/converters/p5-Encode-JIS2K/pkg-descr b/converters/p5-Encode-JIS2K/pkg-descr
new file mode 100644
index 000000000000..e50db068277a
--- /dev/null
+++ b/converters/p5-Encode-JIS2K/pkg-descr
@@ -0,0 +1,16 @@
+This module implements encodings that covers JIS X 0213 charset (AKA
+JIS 2000, hence the module name). Encodings supported are as follows.
+
+Canonical Alias Description
+--------------------------------------------------------------------
+euc-jisx0213 qr/\beuc.*jp[ \-]?(?:2000|2k)$/i EUC-JISX0213
+ qr/\bjp.*euc[ \-]?(2000|2k)$/i
+ qr/\bujis[ \-]?(?:2000|2k)$/i
+shiftjisx0123 qr/\bshift.*jis(?:2000|2k)$/i Shift_JISX0213
+ qr/\bsjisp \-]?(?:2000|2k)$/i
+
+iso-2022-jp-3
+jis0213-1-raw JIS X 0213 plane 1, raw format
+jis0213-2-raw JIS X 0213 plane 2, raw format
+
+WWW: http://search.cpan.org/dist/Encode-JIS2K/
diff --git a/converters/p5-Encode-JIS2K/pkg-plist b/converters/p5-Encode-JIS2K/pkg-plist
new file mode 100644
index 000000000000..c9e40241cb39
--- /dev/null
+++ b/converters/p5-Encode-JIS2K/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/JIS2K/JIS2K.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/JIS2K/JIS2K.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/JIS2K/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Encode/JIS2K.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Encode/JIS2K/2022JP3.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/JIS2K
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Encode/JIS2K
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Encode