1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Remove dependency to japanese/jcode.pl.

This commit is contained in:
SADA Kenji 1999-09-05 15:33:13 +00:00
parent 9a5576ef77
commit c0e9537261
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21272
4 changed files with 18 additions and 21 deletions

View File

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

View File

@ -1 +1 @@
#
MD5 (jcode.pl-2.10) = d4f33ca814bef7461cbbd4173b60bfb1

View File

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

View File

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