BSD Ports

textproc/p5-Unicode-EastAsianWidth 12.0 MidnightBSD

East Asian Width properties

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
CC0-1.0
Categories
textproc, perl5

Description

Unicode::EastAsianWidth provide user-defined Unicode properties that deal with width status of East Asian characters, as specified in http://www.unicode.org/unicode/reports/tr11/.

It exports the following functions to the caller's scope, to be used by Perl's Unicode matching system: InEastAsianFullwidth, InEastAsianHalfwidth, InEastAsianAmbiguous, InEastAsianNarrow InEastAsianWide, InEastAsianNeutral.

In accord to TR11 cited above, two additional context-sensitive properties are exported: InFullwidth (union of Fullwidth and Wide) and InHalfwidth (union of Halfwidth, Narrow and Neutral).

Ambiguous characters are treated by default as part of InHalfwidth, but you can modify this behaviour by assigning a true value to $Unicode::EastAsianWidth::EastAsian at compile time within a BEGIN block before loading this module

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDtextproc/p5-Unicode-EastAsianWidth12.0 newestno data-[email protected]-
FreeBSDtextproc/p5-Unicode-EastAsianWidth12.0 newestnone known-[email protected]-
NetBSDconverters/p5-Unicode-EastAsianWidth by name12.0nb6 newestnone known-[email protected]2026-07-16
DragonFlytextproc/p5-Unicode-EastAsianWidth12.0 newestnone known-[email protected]-
HardenedBSDtextproc/p5-Unicode-EastAsianWidth12.0 newestno data-[email protected]-
GhostBSDtextproc/p5-Unicode-EastAsianWidth12.0 newestno data-[email protected]-
OPNsensetextproc/p5-Unicode-EastAsianWidth12.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Unicode-EastAsianWidth

From mports:

cd /usr/mports/textproc/p5-Unicode-EastAsianWidth && make install clean

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

RUN_DEPENDS=	p5-Unicode-EastAsianWidth>0:textproc/p5-Unicode-EastAsianWidth

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

Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Unicode/EastAsianWidth.pm
  • %%PERL5_MAN3%%/Unicode::EastAsianWidth.3.gz
distinfo 1
FileSizeSHA256
Unicode-EastAsianWidth-12.0.tar.gz523022a5bfd926c4fe5f77e6137da2c31ac2545282ae5fec6e9af0fdd403555a90ff4
Master sites 1
  • CPAN