BSD Ports

japanese/p5-Lingua-JA-Numbers 0.05 MidnightBSD

Converts numeric values to and from their Japanese string equivalents

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
japanese, perl5

Description

This module converts Japanese text in UTF-8 (or romaji in ascii) to number, AND vice versa. Though this pod is in English and all examples are in romaji to make https://metacpan.org/ happy, this module does accept Japanese in UTF-8. Try the code below to see it.

perl -MLingua::JA::Numbers \ -e '$y="\x{4e8c}\x{5343}\x{4e94}"; printf "(C) %d Dan Kogai\n", ja2num($y)'

CAVEAT

DO NOT BE CONFUSED WITH Lingua::JA::Number by Mike Schilli. This module is far more comprehensive. As of 0.03, it even does its to_string() upon request.

In the other systems

The newest version among them is 0.05, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDjapanese/p5-Lingua-JA-Numbers0.05 newestno data-[email protected]-
FreeBSDjapanese/p5-Lingua-JA-Numbers0.05 newestnone known-[email protected]-
DragonFlyjapanese/p5-Lingua-JA-Numbers0.05 newestnone known-[email protected]-
HardenedBSDjapanese/p5-Lingua-JA-Numbers0.05 newestno data-[email protected]-
GhostBSDjapanese/p5-Lingua-JA-Numbers0.05 newestno data-[email protected]-

Install

Binary package:

mport install ${PKGNAMEPREFIX}p5-p5-p5-p5-p5-p5-Lingua-JA-Numbers

From mports:

cd /usr/mports/japanese/p5-Lingua-JA-Numbers && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PKGNAMEPREFIX}p5-p5-p5-p5-p5-p5-Lingua-JA-Numbers>0:japanese/p5-Lingua-JA-Numbers

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Lingua/JA/Numbers.pm
  • %%PERL5_MAN3%%/Lingua::JA::Numbers.3.gz
distinfo 1
FileSizeSHA256
Lingua-JA-Numbers-0.05.tar.gz13200bc0c0e1c8d74dc13d5280deb324d6c383d644c802e0df9ac5e34324d05e9e903
Master sites 1
  • CPAN