Perl5 library for Japanese character code conversion
PR: ports/7086 Submitted by: SADA Kenji <sada@e-mail.ne.jp>
This commit is contained in:
parent
14b83ce457
commit
3eb298cd9d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12475
26
japanese/p5-jcode.pl/Makefile
Normal file
26
japanese/p5-jcode.pl/Makefile
Normal 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>
|
1
japanese/p5-jcode.pl/distinfo
Normal file
1
japanese/p5-jcode.pl/distinfo
Normal file
@ -0,0 +1 @@
|
||||
#
|
1
japanese/p5-jcode.pl/pkg-comment
Normal file
1
japanese/p5-jcode.pl/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Perl5 library for Japanese character code conversion
|
19
japanese/p5-jcode.pl/pkg-descr
Normal file
19
japanese/p5-jcode.pl/pkg-descr
Normal 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
|
3
japanese/p5-jcode.pl/pkg-plist
Normal file
3
japanese/p5-jcode.pl/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user