aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-05-29 12:09:14 +0800
committerclsung <clsung@FreeBSD.org>2006-05-29 12:09:14 +0800
commit73cae9bb422d4a5b3d92b1799a594a4fb56eb724 (patch)
tree69d0c60c5b4b9ee1ec2595daabdb6663029f6647 /converters
parent071070ff5aa42f430f03ac910cadb7946b63323d (diff)
downloadfreebsd-ports-gnome-73cae9bb422d4a5b3d92b1799a594a4fb56eb724.tar.gz
freebsd-ports-gnome-73cae9bb422d4a5b3d92b1799a594a4fb56eb724.tar.zst
freebsd-ports-gnome-73cae9bb422d4a5b3d92b1799a594a4fb56eb724.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>
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