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