aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/p5-jcode.pl
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-09-05 23:33:13 +0800
committersada <sada@FreeBSD.org>1999-09-05 23:33:13 +0800
commit0732d9f82e1e8dfc6ed464c37dfd7cad6d586853 (patch)
tree5e8121e85d253e62dfc3a975db7012d76432b73e /japanese/p5-jcode.pl
parent3dc8bd39ad26c14b3307f92e8f5a1859a014ba35 (diff)
downloadfreebsd-ports-graphics-0732d9f82e1e8dfc6ed464c37dfd7cad6d586853.tar.gz
freebsd-ports-graphics-0732d9f82e1e8dfc6ed464c37dfd7cad6d586853.tar.zst
freebsd-ports-graphics-0732d9f82e1e8dfc6ed464c37dfd7cad6d586853.zip
Remove dependency to japanese/jcode.pl.
Diffstat (limited to 'japanese/p5-jcode.pl')
-rw-r--r--japanese/p5-jcode.pl/Makefile25
-rw-r--r--japanese/p5-jcode.pl/distinfo2
-rw-r--r--japanese/p5-jcode.pl/pkg-descr9
-rw-r--r--japanese/p5-jcode.pl/pkg-plist3
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