summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-06-08 09:52:19 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-06-08 09:52:19 +0000
commit6f90dbe1a50d2fcad8a875c87e745c74ea39e3d5 (patch)
tree0e0a649368a6d03062f179c1ce9feb9cda3f2cfe /japanese
parentb4fd6821e424c57bdbd8c652897cc82723f58c9f (diff)
downloadpkgsrc-6f90dbe1a50d2fcad8a875c87e745c74ea39e3d5.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/p5-jcode/Makefile28
-rw-r--r--japanese/p5-jcode/files/md52
-rw-r--r--japanese/p5-jcode/pkg/DESCR2
-rw-r--r--japanese/p5-jcode/pkg/PLIST3
4 files changed, 13 insertions, 22 deletions
diff --git a/japanese/p5-jcode/Makefile b/japanese/p5-jcode/Makefile
index 22888fb1a79..9fce3d5f269 100644
--- a/japanese/p5-jcode/Makefile
+++ b/japanese/p5-jcode/Makefile
@@ -1,30 +1,20 @@
-# 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 $
-#
+# $NetBSD: Makefile,v 1.2 1999/06/08 09:52:19 sakamoto Exp $
+# FreeBSD Id: Makefile,v 1.2 1999/01/17 10:56:40 vanilla 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
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-EXTRACT_CMD= ${CP}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= .
-
-INSTALLDIR= ${PREFIX}/lib/perl
+USE_PERL5= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} .
do-install:
- @${MKDIR} ${INSTALLDIR}
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${INSTALLDIR}/jcode.pl
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${PREFIX}/lib/perl5/site_perl/jcode.pl
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/p5-jcode/files/md5 b/japanese/p5-jcode/files/md5
index dcae05a6c83..ed551b0f9d2 100644
--- a/japanese/p5-jcode/files/md5
+++ b/japanese/p5-jcode/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.2 1999/06/08 09:52:20 sakamoto Exp $
+
MD5 (jcode.pl-2.10) = d4f33ca814bef7461cbbd4173b60bfb1
diff --git a/japanese/p5-jcode/pkg/DESCR b/japanese/p5-jcode/pkg/DESCR
index ebb8db4137c..4c27e20cdf3 100644
--- a/japanese/p5-jcode/pkg/DESCR
+++ b/japanese/p5-jcode/pkg/DESCR
@@ -8,8 +8,6 @@ To use this, your script should load this library as
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
diff --git a/japanese/p5-jcode/pkg/PLIST b/japanese/p5-jcode/pkg/PLIST
index 89946d1529f..435c669320d 100644
--- a/japanese/p5-jcode/pkg/PLIST
+++ b/japanese/p5-jcode/pkg/PLIST
@@ -1 +1,2 @@
-lib/perl/jcode.pl
+@comment $NetBSD: PLIST,v 1.2 1999/06/08 09:52:20 sakamoto Exp $
+lib/perl5/site_perl/jcode.pl