diff options
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/p5-jcode.pl/Makefile | 25 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/distinfo | 2 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/pkg-descr | 9 | ||||
-rw-r--r-- | japanese/p5-jcode.pl/pkg-plist | 3 |
4 files changed, 18 insertions, 21 deletions
diff --git a/japanese/p5-jcode.pl/Makefile b/japanese/p5-jcode.pl/Makefile index 52dad05269a..a15ec7cb666 100644 --- a/japanese/p5-jcode.pl/Makefile +++ b/japanese/p5-jcode.pl/Makefile @@ -1,28 +1,33 @@ # New ports collection makefile for: p5-jcode.pl # Version required: 2.10 # Date created: 26 Jun 1998 -# Whom: SADA Kenji <sada@e-mail.ne.jp> +# Whom: SADA Kenji <sada@FreeBSD.org> # # $FreeBSD$ # -DISTNAME= ja-p5-jcode.pl-2.10 +DISTNAME= jcode.pl-2.10 +PKGNAME= ja-p5-jcode.pl-2.10 CATEGORIES= japanese perl5 -DISTFILES= +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 - -RUN_DEPENDS= ${PREFIX}/lib/perl/jcode.pl:${PORTSDIR}/japanese/jcode.pl +MAINTAINER= sada@FreeBSD.org +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= ${WRKDIR} +NO_WRKSUBDIR= YES NO_BUILD= YES USE_PERL5= YES +PLIST_SUB= INSTALL_BASE=${INSTALL_BASE} -INSTALL_DIR= ${PREFIX}/lib/perl5/site_perl/${PERL_VER} - -.SILENT: +INSTALL_BASE= lib/perl5/site_perl/${PERL_VER} +INSTALL_DIR= ${PREFIX}/${INSTALL_BASE} do-install: ${MKDIR} ${INSTALL_DIR} - ${LN} -sf ../../../perl/jcode.pl ${INSTALL_DIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${INSTALL_DIR}/jcode.pl .include <bsd.port.mk> diff --git a/japanese/p5-jcode.pl/distinfo b/japanese/p5-jcode.pl/distinfo index 792d6005489..dcae05a6c83 100644 --- a/japanese/p5-jcode.pl/distinfo +++ b/japanese/p5-jcode.pl/distinfo @@ -1 +1 @@ -# +MD5 (jcode.pl-2.10) = d4f33ca814bef7461cbbd4173b60bfb1 diff --git a/japanese/p5-jcode.pl/pkg-descr b/japanese/p5-jcode.pl/pkg-descr index a3d69baebb0..5b765f0015b 100644 --- a/japanese/p5-jcode.pl/pkg-descr +++ b/japanese/p5-jcode.pl/pkg-descr @@ -2,18 +2,11 @@ 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 +sada@FreeBSD.org diff --git a/japanese/p5-jcode.pl/pkg-plist b/japanese/p5-jcode.pl/pkg-plist index cd403b64493..17537ad7bf1 100644 --- a/japanese/p5-jcode.pl/pkg-plist +++ b/japanese/p5-jcode.pl/pkg-plist @@ -1,2 +1 @@ -@exec /bin/ln -sf ../../../perl/jcode.pl %D/lib/perl5/site_perl/%%PERL_VER%% -@unexec /bin/rm -f %D/lib/perl5/site_perl/%%PERL_VER%%/jcode.pl +%%INSTALL_BASE%%/jcode.pl |