diff options
author | sakamoto <sakamoto> | 1999-06-08 09:49:29 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 1999-06-08 09:49:29 +0000 |
commit | 782e3d330553d5fd23ddcf716217c666fe1bf12e (patch) | |
tree | e82c04786444f513b8ea8ff48e25b03d25d0ecb4 /japanese/p5-jcode | |
parent | 4d85eda759810180574db280ba788ab65167e189 (diff) | |
download | pkgsrc-782e3d330553d5fd23ddcf716217c666fe1bf12e.tar.gz |
Import FreeBSD's "jcode.pl" port:
Perl library for Japanese character code conversion.
Diffstat (limited to 'japanese/p5-jcode')
-rw-r--r-- | japanese/p5-jcode/Makefile | 30 | ||||
-rw-r--r-- | japanese/p5-jcode/files/md5 | 1 | ||||
-rw-r--r-- | japanese/p5-jcode/pkg/COMMENT | 1 | ||||
-rw-r--r-- | japanese/p5-jcode/pkg/DESCR | 19 | ||||
-rw-r--r-- | japanese/p5-jcode/pkg/PLIST | 1 |
5 files changed, 52 insertions, 0 deletions
diff --git a/japanese/p5-jcode/Makefile b/japanese/p5-jcode/Makefile new file mode 100644 index 00000000000..22888fb1a79 --- /dev/null +++ b/japanese/p5-jcode/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: jcode.pl +# Version required: 2.10 +# Date created: 20 February 1998 +# Whom: sada +# +# $Id: Makefile,v 1.1.1.1 1999/06/08 09:49:29 sakamoto Exp $ +# + +DISTNAME= jcode.pl-2.10 +PKGNAME= ja-jcode.pl-2.10 +CATEGORIES= japanese +MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \ + ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ +EXTRACT_SUFX= + +MAINTAINER= sada@e-mail.ne.jp + +NO_WRKSUBDIR= yes +NO_BUILD= yes +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= . + +INSTALLDIR= ${PREFIX}/lib/perl + +do-install: + @${MKDIR} ${INSTALLDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${INSTALLDIR}/jcode.pl + +.include <bsd.port.mk> diff --git a/japanese/p5-jcode/files/md5 b/japanese/p5-jcode/files/md5 new file mode 100644 index 00000000000..dcae05a6c83 --- /dev/null +++ b/japanese/p5-jcode/files/md5 @@ -0,0 +1 @@ +MD5 (jcode.pl-2.10) = d4f33ca814bef7461cbbd4173b60bfb1 diff --git a/japanese/p5-jcode/pkg/COMMENT b/japanese/p5-jcode/pkg/COMMENT new file mode 100644 index 00000000000..c76600868bf --- /dev/null +++ b/japanese/p5-jcode/pkg/COMMENT @@ -0,0 +1 @@ +Perl library for Japanese character code conversion diff --git a/japanese/p5-jcode/pkg/DESCR b/japanese/p5-jcode/pkg/DESCR new file mode 100644 index 00000000000..ebb8db4137c --- /dev/null +++ b/japanese/p5-jcode/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. + +To use this, your script should load this library as + ++ require "jcode.pl"; +or ++ require('jcode.pl'); + +# ``unshift(@INC, '/usr/local/lib/perl');'' could be needed before. + +# 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/pkg/PLIST b/japanese/p5-jcode/pkg/PLIST new file mode 100644 index 00000000000..89946d1529f --- /dev/null +++ b/japanese/p5-jcode/pkg/PLIST @@ -0,0 +1 @@ +lib/perl/jcode.pl |