aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2006-08-25 17:08:18 +0800
committerknu <knu@FreeBSD.org>2006-08-25 17:08:18 +0800
commit4b43655b499bb1886d8b645c365a78cfc5894013 (patch)
tree9c217504898d80084ddf7862b846daeebb2ca78d /japanese
parentd8682b01316b833f202095ca03e9ddb11368167e (diff)
downloadfreebsd-ports-gnome-4b43655b499bb1886d8b645c365a78cfc5894013.tar.gz
freebsd-ports-gnome-4b43655b499bb1886d8b645c365a78cfc5894013.tar.zst
freebsd-ports-gnome-4b43655b499bb1886d8b645c365a78cfc5894013.zip
Add p5-Encode-EUCJPMS, a Perl5 module defining Microsoft compatible
encodings for Japanese.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/p5-Encode-EUCJPMS/Makefile31
-rw-r--r--japanese/p5-Encode-EUCJPMS/distinfo3
-rw-r--r--japanese/p5-Encode-EUCJPMS/pkg-descr16
-rw-r--r--japanese/p5-Encode-EUCJPMS/pkg-message9
-rw-r--r--japanese/p5-Encode-EUCJPMS/pkg-plist5
6 files changed, 65 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 8a2cd5c4e71f..2ca372abdd3a 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -273,6 +273,7 @@
SUBDIR += otojiro-fpw
SUBDIR += p5-Date-Japanese-Era
SUBDIR += p5-Date-Japanese-Holiday
+ SUBDIR += p5-Encode-EUCJPMS
SUBDIR += p5-FormValidator-Simple-Plugin-Number-Phone-JP
SUBDIR += p5-Jcode
SUBDIR += p5-Lingua-JA-Numbers
diff --git a/japanese/p5-Encode-EUCJPMS/Makefile b/japanese/p5-Encode-EUCJPMS/Makefile
new file mode 100644
index 000000000000..991545614cff
--- /dev/null
+++ b/japanese/p5-Encode-EUCJPMS/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Encode::EUCJPMS
+# Date created: 25 August 2006
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Encode-EUCJPMS
+PORTVERSION= 0.06
+CATEGORIES= japanese converters perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/N/NA/NARUSE
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A Perl5 module defining Microsoft compatible encodings for Japanese
+
+PERL_CONFIGURE= yes
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/japanese/p5-Encode-EUCJPMS/distinfo b/japanese/p5-Encode-EUCJPMS/distinfo
new file mode 100644
index 000000000000..8c5058617859
--- /dev/null
+++ b/japanese/p5-Encode-EUCJPMS/distinfo
@@ -0,0 +1,3 @@
+MD5 (Encode-EUCJPMS-0.06.tar.gz) = f89f0c618da075cc1ff8c678e878ce82
+SHA256 (Encode-EUCJPMS-0.06.tar.gz) = ff23803102d72a6768faa2fd77e48c138ef59affb731ca284bfa5e1953f87fbc
+SIZE (Encode-EUCJPMS-0.06.tar.gz) = 98504
diff --git a/japanese/p5-Encode-EUCJPMS/pkg-descr b/japanese/p5-Encode-EUCJPMS/pkg-descr
new file mode 100644
index 000000000000..b94e598dabb2
--- /dev/null
+++ b/japanese/p5-Encode-EUCJPMS/pkg-descr
@@ -0,0 +1,16 @@
+This is a Perl5 module that defines Microsoft compatible encodings for
+Japanese.
+
+Encodings supported are as follows.
+
+ Canonical Alias Description
+ --------------------------------------------------------------------
+ eucJP-ms qr/\beuc-?jp-?ms$/i eucJP-ms
+ qr/\beuc-?jp-?win$/i
+ cp51932 qr/\bcp51932$/i Windows Codepage 51932
+ cp50220 Windows Codepage 50220
+ cp50221 Windows Codepage 50221
+ --------------------------------------------------------------------
+
+Author: NARUSE, Yui <naruse@airemix.com>
+WWW: http://search.cpan.org/dist/Unicode-Japanese/
diff --git a/japanese/p5-Encode-EUCJPMS/pkg-message b/japanese/p5-Encode-EUCJPMS/pkg-message
new file mode 100644
index 000000000000..c321793162d8
--- /dev/null
+++ b/japanese/p5-Encode-EUCJPMS/pkg-message
@@ -0,0 +1,9 @@
+======================================================================
+If you want to add eucJP-ms to Encode's demand-loading list (so you
+don't have to "use Encode::EUCJPMS"), run
+
+ enc2xs -C
+
+to update Encode::ConfigLocal, a module that controls local settings.
+After that, "use Encode;" is enough to load eucJP-ms on demand.
+======================================================================
diff --git a/japanese/p5-Encode-EUCJPMS/pkg-plist b/japanese/p5-Encode-EUCJPMS/pkg-plist
new file mode 100644
index 000000000000..d2e07ee656e0
--- /dev/null
+++ b/japanese/p5-Encode-EUCJPMS/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Encode/EUCJPMS.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/EUCJPMS/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/EUCJPMS/EUCJPMS.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/EUCJPMS/EUCJPMS.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/EUCJPMS