svn commit: r519832 - in head/japanese: . p5-Lingua-JA-Romanize-Japanese p5-Lingua-JA-Romanize-Japanese/files
Kurt Jaeger
pi at FreeBSD.org
Wed Dec 11 19:28:31 UTC 2019
Author: pi
Date: Wed Dec 11 19:28:29 2019
New Revision: 519832
URL: https://svnweb.freebsd.org/changeset/ports/519832
Log:
New port: japanese/p5-Lingua-JA-Romanize-Japanese: Romanization of Japanese language
Romanization of Japanese language.
WWW: https://metacpan.org/release/Lingua-JA-Romanize-Japanese
PR: 242355
Submitted by: Tomohiro Hosaka <bokutin at bokut.in>
Added:
head/japanese/p5-Lingua-JA-Romanize-Japanese/
head/japanese/p5-Lingua-JA-Romanize-Japanese/Makefile (contents, props changed)
head/japanese/p5-Lingua-JA-Romanize-Japanese/distinfo (contents, props changed)
head/japanese/p5-Lingua-JA-Romanize-Japanese/files/
head/japanese/p5-Lingua-JA-Romanize-Japanese/files/patch-lib_Lingua_JA_Romanize_DictJA.pm (contents, props changed)
head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-descr (contents, props changed)
head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-message (contents, props changed)
head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-plist (contents, props changed)
Modified:
head/japanese/Makefile
Modified: head/japanese/Makefile
==============================================================================
--- head/japanese/Makefile Wed Dec 11 19:27:55 2019 (r519831)
+++ head/japanese/Makefile Wed Dec 11 19:28:29 2019 (r519832)
@@ -200,6 +200,7 @@
SUBDIR += p5-Lingua-JA-Moji
SUBDIR += p5-Lingua-JA-Numbers
SUBDIR += p5-Lingua-JA-Regular-Unicode
+ SUBDIR += p5-Lingua-JA-Romanize-Japanese
SUBDIR += p5-Lingua-JA-Summarize-Extract
SUBDIR += p5-MeCab
SUBDIR += p5-Number-Phone-JP
Added: head/japanese/p5-Lingua-JA-Romanize-Japanese/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/p5-Lingua-JA-Romanize-Japanese/Makefile Wed Dec 11 19:28:29 2019 (r519832)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= Lingua-JA-Romanize-Japanese
+PORTVERSION= 0.23
+CATEGORIES= japanese perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR=CPAN:KAWASAKI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bokutin at bokut.in
+COMMENT= Romanization of Japanese language
+
+LICENSE= GPLv2+
+
+BUILD_DEPENDS= p5-libwww>=0:www/p5-libwww
+
+USES= perl5
+USE_PERL5= configure
+NO_ARCH= yes
+
+MAKE_ENV+= DISABLE_DIC_DOWNLOAD=1
+
+.include <bsd.port.mk>
Added: head/japanese/p5-Lingua-JA-Romanize-Japanese/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/p5-Lingua-JA-Romanize-Japanese/distinfo Wed Dec 11 19:28:29 2019 (r519832)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1574739437
+SHA256 (Lingua-JA-Romanize-Japanese-0.23.tar.gz) = f3b0926b52576a20701fe0353a068de58f2054d41447811df82a84b897a09699
+SIZE (Lingua-JA-Romanize-Japanese-0.23.tar.gz) = 41202
Added: head/japanese/p5-Lingua-JA-Romanize-Japanese/files/patch-lib_Lingua_JA_Romanize_DictJA.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/p5-Lingua-JA-Romanize-Japanese/files/patch-lib_Lingua_JA_Romanize_DictJA.pm Wed Dec 11 19:28:29 2019 (r519832)
@@ -0,0 +1,24 @@
+--- lib/Lingua/JA/Romanize/DictJA.pm.orig 2008-01-20 09:56:38 UTC
++++ lib/Lingua/JA/Romanize/DictJA.pm
+@@ -58,10 +58,11 @@ $VERSION = "0.23";
+ use Lingua::JA::Romanize::Kana;
+ use ExtUtils::MakeMaker;
+ use Fcntl;
++use File::Temp;
+ use IO::File;
+
+ my $PERL581 = 1 if ( $] >= 5.008001 );
+-my $FETCH_CACHE = "skk";
++my $FETCH_CACHE = File::Temp->newdir;
+ my $DICT_DB = 'Japanese.bdb';
+ my $DIC_SMALL = [ qw(
+ skk/SKK-JISYO.S
+@@ -130,7 +131,7 @@ sub update {
+ my $cand = defined $IO::Zlib::VERSION ? $DIC_GZIPED : $DIC_LARGE;
+ print "\t", $_, "\n" foreach (@$cand);
+ my $mess = 'Do you wish to download these files?';
+- my $yes = ExtUtils::MakeMaker::prompt( $mess, 'y' );
++ my $yes = ExtUtils::MakeMaker::prompt( $mess, $ENV{DISABLE_DIC_DOWNLOAD} ? 'n' : 'y' );
+ if ( $yes eq 'y' ) {
+ $diclist = $cand;
+ }
Added: head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-descr Wed Dec 11 19:28:29 2019 (r519832)
@@ -0,0 +1,3 @@
+Romanization of Japanese language.
+
+WWW: https://metacpan.org/release/Lingua-JA-Romanize-Japanese
Added: head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-message Wed Dec 11 19:28:29 2019 (r519832)
@@ -0,0 +1,10 @@
+[
+{ type: install
+ message: <<EOM
+The dictionary included in this package is created from skk/SKK-JISYO.S included in the official tarball.
+
+To update using a dictionary published online, execute the command below.
+perl -MLingua::JA::Romanize::DictJA -e 'Lingua::JA::Romanize::DictJA->update();'
+EOM
+}
+]
Added: head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/p5-Lingua-JA-Romanize-Japanese/pkg-plist Wed Dec 11 19:28:29 2019 (r519832)
@@ -0,0 +1,15 @@
+%%SITE_PERL%%/Lingua/JA/Romanize/Base.pm
+%%SITE_PERL%%/Lingua/JA/Romanize/DictJA.pm
+%%SITE_PERL%%/Lingua/JA/Romanize/Japanese.bdb
+%%SITE_PERL%%/Lingua/JA/Romanize/Japanese.pm
+%%SITE_PERL%%/Lingua/JA/Romanize/Juman.pm
+%%SITE_PERL%%/Lingua/JA/Romanize/Kana.pm
+%%SITE_PERL%%/Lingua/JA/Romanize/Kana/Hepburn.pm
+%%SITE_PERL%%/Lingua/JA/Romanize/MeCab.pm
+%%PERL5_MAN3%%/Lingua::JA::Romanize::Base.3.gz
+%%PERL5_MAN3%%/Lingua::JA::Romanize::DictJA.3.gz
+%%PERL5_MAN3%%/Lingua::JA::Romanize::Japanese.3.gz
+%%PERL5_MAN3%%/Lingua::JA::Romanize::Juman.3.gz
+%%PERL5_MAN3%%/Lingua::JA::Romanize::Kana.3.gz
+%%PERL5_MAN3%%/Lingua::JA::Romanize::Kana::Hepburn.3.gz
+%%PERL5_MAN3%%/Lingua::JA::Romanize::MeCab.3.gz
More information about the svn-ports-all
mailing list