View | Details | Raw Unified | Return to bug 222535 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +5 lines)
Lines 12-23 Link Here
12
MAINTAINER=	ports@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Perl library for Japanese character code conversion
13
COMMENT=	Perl library for Japanese character code conversion
14
14
15
LICENSE=	BSD
15
LICENSE=	JCODE.PL
16
LICENSE_NAME=	License of jcode.pl
17
LICENSE_FILE=	${FILESDIR}/LICENSE
18
LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
16
19
17
USES=		perl5
20
USES=		perl5
18
USE_PERL5=	run
21
USE_PERL5=	run
19
NO_WRKSUBDIR=	yes
22
NO_WRKSUBDIR=	yes
20
NO_BUILD=	yes
23
NO_BUILD=	yes
24
NO_ARCH=	yes
21
EXTRACT_CMD=	${CP}
25
EXTRACT_CMD=	${CP}
22
EXTRACT_BEFORE_ARGS=	# none
26
EXTRACT_BEFORE_ARGS=	# none
23
EXTRACT_AFTER_ARGS=	${WRKSRC}/${PORTNAME}
27
EXTRACT_AFTER_ARGS=	${WRKSRC}/${PORTNAME}
(-)files/LICENSE (+15 lines)
Line 0 Link Here
1
(Following sentences are from jcode.pl-2.13.)
2
3
Copyright (c) 1995-2000 Kazumasa Utashiro <utashiro@iij.ad.jp>
4
Internet Initiative Japan Inc.
5
3-13 Kanda Nishiki-cho, Chiyoda-ku, Tokyo 101-0054, Japan
6
7
Copyright (c) 1992,1993,1994 Kazumasa Utashiro
8
Software Research Associates, Inc.
9
10
Use and redistribution for ANY PURPOSE are granted as long as all
11
copyright notices are retained.  Redistribution with modification
12
is allowed provided that you make your modified version obviously
13
distinguishable from the original one.  THIS SOFTWARE IS PROVIDED
14
BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES ARE
15
DISCLAIMED.
(-)files/patch-jcode.pl (-6 / +6 lines)
Lines 1-7 Link Here
1
--- jcode.pl.orig	2010-07-28 14:46:52.000000000 +0900
1
--- jcode.pl.orig	2017-09-23 14:20:47 UTC
2
+++ jcode.pl	2010-07-28 14:51:52.000000000 +0900
2
+++ jcode.pl
3
@@ -681,7 +681,7 @@
3
@@ -681,7 +681,7 @@ sub __z2h_jis {
4
4
 
5
 sub z2h_euc {
5
 sub z2h_euc {
6
     local(*s, $n) = @_;
6
     local(*s, $n) = @_;
7
-    &init_z2h_euc unless defined %z2h_euc;
7
-    &init_z2h_euc unless defined %z2h_euc;
Lines 9-16 Link Here
9
     $s =~ s/($re_euc_c|$re_euc_kana)/
9
     $s =~ s/($re_euc_c|$re_euc_kana)/
10
 	$z2h_euc{$1} ? ($n++, $z2h_euc{$1}) : $1
10
 	$z2h_euc{$1} ? ($n++, $z2h_euc{$1}) : $1
11
     /geo;
11
     /geo;
12
@@ -690,7 +690,7 @@
12
@@ -690,7 +690,7 @@ sub z2h_euc {
13
13
 
14
 sub z2h_sjis {
14
 sub z2h_sjis {
15
     local(*s, $n) = @_;
15
     local(*s, $n) = @_;
16
-    &init_z2h_sjis unless defined %z2h_sjis;
16
-    &init_z2h_sjis unless defined %z2h_sjis;

Return to bug 222535