Perl5 library for Japanese character code conversion

PR:		ports/7086
Submitted by:	SADA Kenji <sada@e-mail.ne.jp>
This commit is contained in:
Jun Kuriyama 1998-08-12 14:04:13 +00:00
parent 14b83ce457
commit 3eb298cd9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12475
5 changed files with 50 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
#

View File

@ -0,0 +1 @@
Perl5 library for Japanese character code conversion

View File

@ -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

View File

@ -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