diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-08-12 14:04:13 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-08-12 14:04:13 +0000 |
commit | 3eb298cd9d471e0a22ad42977312854c4e751146 (patch) | |
tree | 93ca67d9fc17c7bd1cb8a37c45f6f346ffaf5b54 /japanese/p5-jcode.pl | |
parent | 14b83ce4572a5ed446e30e9c55646395ff549a7a (diff) | |
download | ports-3eb298cd9d471e0a22ad42977312854c4e751146.tar.gz ports-3eb298cd9d471e0a22ad42977312854c4e751146.zip |
Perl5 library for Japanese character code conversion
PR: ports/7086
Submitted by: SADA Kenji <sada@e-mail.ne.jp>
Notes
Notes:
svn path=/head/; revision=12475
Diffstat (limited to 'japanese/p5-jcode.pl')
-rw-r--r-- | japanese/p5-jcode.pl/Makefile | 26 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/distinfo | 1 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/pkg-descr | 19 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/pkg-plist | 3 |
5 files changed, 50 insertions, 0 deletions
diff --git a/japanese/p5-jcode.pl/Makefile b/japanese/p5-jcode.pl/Makefile new file mode 100644 index 000000000000..0e4356a27538 --- /dev/null +++ b/japanese/p5-jcode.pl/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-jcode.pl +# Version required: 2.6 +# Date created: 26 Jun 1998 +# Whom: SADA Kenji <sada@e-mail.ne.jp> +# +# $Id$ +# + +DISTNAME= ja-p5-jcode.pl-2.6 +CATEGORIES= japanese perl5 +DISTFILES= + +MAINTAINER= sada@e-mail.ne.jp + +RUN_DEPENDS= ${PREFIX}/lib/perl/jcode.pl:${PORTSDIR}/japanese/jcode.pl + +NO_BUILD= YES +USE_PERL5= YES + +LN= /bin/ln + +do-install: + @${MKDIR} ${PREFIX}/lib/perl5/site_perl + @${LN} -s ../../perl/jcode.pl ${PREFIX}/lib/perl5/site_perl + +.include <bsd.port.mk> diff --git a/japanese/p5-jcode.pl/distinfo b/japanese/p5-jcode.pl/distinfo new file mode 100644 index 000000000000..792d6005489e --- /dev/null +++ b/japanese/p5-jcode.pl/distinfo @@ -0,0 +1 @@ +# diff --git a/japanese/p5-jcode.pl/pkg-comment b/japanese/p5-jcode.pl/pkg-comment new file mode 100644 index 000000000000..777040bafe72 --- /dev/null +++ b/japanese/p5-jcode.pl/pkg-comment @@ -0,0 +1 @@ +Perl5 library for Japanese character code conversion diff --git a/japanese/p5-jcode.pl/pkg-descr b/japanese/p5-jcode.pl/pkg-descr new file mode 100644 index 000000000000..a3d69baebb06 --- /dev/null +++ b/japanese/p5-jcode.pl/pkg-descr @@ -0,0 +1,19 @@ +``jcode.pl-2.x'' is a perl library for japanese character code conversion. +It supports translation of each JIS, EUC, Shift JIS texts, and automatically +recognizes the encode-method of the target text files. + +This ``p5-jcode.pl-2.x'' is for Perl5 and depends on ``jcode-pl-2.x''. + +To use this, your script should load this library as + ++ require "jcode.pl"; +or ++ require('jcode.pl'); + +# See also: +# http://www.bekkoame.or.jp/~syunji/perl/perl_j.html +# http://www.bekkoame.or.jp/~syunji/perl/jcode20.txt +# (both pages are written in Japanese) + +- SADA Kenji +sada@e-mail.ne.jp diff --git a/japanese/p5-jcode.pl/pkg-plist b/japanese/p5-jcode.pl/pkg-plist new file mode 100644 index 000000000000..08820b1517b9 --- /dev/null +++ b/japanese/p5-jcode.pl/pkg-plist @@ -0,0 +1,3 @@ +@exec /bin/mkdir %D/lib/perl5/site_perl +@exec /bin/ln -s ../../perl/jcode.pl %D/lib/perl5/site_perl +@unexec /bin/rm -f %D/lib/perl5/site_perl/jcode.pl |