diff options
Diffstat (limited to 'japanese/jcode.pl')
-rw-r--r-- | japanese/jcode.pl/Makefile | 13 | ||||
-rw-r--r-- | japanese/jcode.pl/distinfo | 2 | ||||
-rw-r--r-- | japanese/jcode.pl/pkg-descr | 16 | ||||
-rw-r--r-- | japanese/jcode.pl/pkg-plist | 3 |
4 files changed, 14 insertions, 20 deletions
diff --git a/japanese/jcode.pl/Makefile b/japanese/jcode.pl/Makefile index 14d6c7a2b6b..369facf0246 100644 --- a/japanese/jcode.pl/Makefile +++ b/japanese/jcode.pl/Makefile @@ -6,10 +6,9 @@ # PORTNAME= jcode.pl -PORTVERSION= 2.10 +PORTVERSION= 2.13 CATEGORIES= japanese -MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \ - ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ +MASTER_SITES= http://srekcah.org/jcode/ EXTRACT_SUFX= # none MAINTAINER= sada@FreeBSD.org @@ -19,11 +18,13 @@ NO_BUILD= yes EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= . +PLIST_SUB= INSTALL_BASE=${INSTALL_BASE} -INSTALLDIR= ${PREFIX}/lib/perl +INSTALL_BASE= lib/perl5/site_perl/${PERL_VER} +INSTALL_DIR= ${PREFIX}/${INSTALL_BASE} do-install: - @${MKDIR} ${INSTALLDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${INSTALLDIR}/jcode.pl + ${MKDIR} ${INSTALL_DIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${INSTALL_DIR}/${PORTNAME} .include <bsd.port.mk> diff --git a/japanese/jcode.pl/distinfo b/japanese/jcode.pl/distinfo index dcae05a6c83..67939167e19 100644 --- a/japanese/jcode.pl/distinfo +++ b/japanese/jcode.pl/distinfo @@ -1 +1 @@ -MD5 (jcode.pl-2.10) = d4f33ca814bef7461cbbd4173b60bfb1 +MD5 (jcode.pl-2.13) = 7d688306677b99ec34cf68ef93562381 diff --git a/japanese/jcode.pl/pkg-descr b/japanese/jcode.pl/pkg-descr index ebb8db4137c..66652d1c74c 100644 --- a/japanese/jcode.pl/pkg-descr +++ b/japanese/jcode.pl/pkg-descr @@ -1,19 +1,13 @@ -``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. +jcode.pl 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) +WWW: http://srekcah.org/jcode/ - SADA Kenji -sada@e-mail.ne.jp +sada@FreeBSD.org diff --git a/japanese/jcode.pl/pkg-plist b/japanese/jcode.pl/pkg-plist index c36545e8e91..17537ad7bf1 100644 --- a/japanese/jcode.pl/pkg-plist +++ b/japanese/jcode.pl/pkg-plist @@ -1,2 +1 @@ -lib/perl/jcode.pl -@unexec rmdir %B 2>/dev/null || true +%%INSTALL_BASE%%/jcode.pl |