BSD Ports

textproc/p5-Text-VisualWidth 0.02_1 FreeBSD

Perl extension for trimming text by terminal columns

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
textproc, perl5
Package size
14.0 KiB, 28.8 KiB installed

Description

This module provides functions to treat half-width and full-width characters and display correct size of text in one line on terminals and mobile phones. You can know the visual width of any text and truncate text by the visual width. Now this module support EUC-JP and UTF-8 and tested only with Japanese.

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-Text-VisualWidth0.02_1
DragonFlytextproc/p5-Text-VisualWidth0.02_1

Install

Binary package:

pkg install p5-Text-VisualWidth

From the ports tree:

cd /usr/ports/textproc/p5-Text-VisualWidth/ && make install clean

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

RUN_DEPENDS=	p5-Text-VisualWidth>0:textproc/p5-Text-VisualWidth

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.02_10.02_10.02_10.02_10.02_1
FreeBSD:14:quarterly0.02_10.02_1n/a0.02_10.02_1
FreeBSD:15:latest0.02_10.02_1n/a0.02_10.02_1
FreeBSD:15:quarterly0.02_10.02_1n/an/an/a
FreeBSD:16:latest0.02_10.02_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 8
  • %%PERL5_MAN3%%/Text::VisualWidth.3.gz
  • %%PERL5_MAN3%%/Text::VisualWidth::EUC_JP.3.gz
  • %%PERL5_MAN3%%/Text::VisualWidth::UTF8.3.gz
  • %%SITE_ARCH%%/Text/VisualWidth.pm
  • %%SITE_ARCH%%/Text/VisualWidth/EUC_JP.pm
  • %%SITE_ARCH%%/Text/VisualWidth/UTF8.pm
  • %%SITE_ARCH%%/auto/Text/VisualWidth/VisualWidth.so
  • %%SITE_ARCH%%/auto/Text/VisualWidth/autosplit.ix
distinfo 1
FileSizeSHA256
Text-VisualWidth-0.02.tar.gz324593b019e2b9ee133f7afb5095e497af269569f13bfb97c271d6db6ca204bc1cb73
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.