mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
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. WWW: http://search.cpan.org/dist/Text-VisualWidth/
This commit is contained in:
parent
8b4c76c45c
commit
6f69e10eb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353275
@ -858,6 +858,7 @@
|
||||
SUBDIR += p5-Text-Typography
|
||||
SUBDIR += p5-Text-Unaccent
|
||||
SUBDIR += p5-Text-VimColor
|
||||
SUBDIR += p5-Text-VisualWidth
|
||||
SUBDIR += p5-Text-WikiCreole
|
||||
SUBDIR += p5-Text-WikiFormat
|
||||
SUBDIR += p5-Text-WordDiff
|
||||
|
18
textproc/p5-Text-VisualWidth/Makefile
Normal file
18
textproc/p5-Text-VisualWidth/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Text-VisualWidth
|
||||
PORTVERSION= 0.02
|
||||
CATEGORIES= textproc perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Perl extension for trimming text by terminal columns
|
||||
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/p5-Text-VisualWidth/distinfo
Normal file
2
textproc/p5-Text-VisualWidth/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Text-VisualWidth-0.02.tar.gz) = 3b019e2b9ee133f7afb5095e497af269569f13bfb97c271d6db6ca204bc1cb73
|
||||
SIZE (Text-VisualWidth-0.02.tar.gz) = 32459
|
7
textproc/p5-Text-VisualWidth/pkg-descr
Normal file
7
textproc/p5-Text-VisualWidth/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
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.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Text-VisualWidth/
|
14
textproc/p5-Text-VisualWidth/pkg-plist
Normal file
14
textproc/p5-Text-VisualWidth/pkg-plist
Normal file
@ -0,0 +1,14 @@
|
||||
%%PERL5_MAN3%%/Text::VisualWidth.3.gz
|
||||
%%PERL5_MAN3%%/Text::VisualWidth::EUC_JP.3.gz
|
||||
%%PERL5_MAN3%%/Text::VisualWidth::UTF8.3.gz
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Text/VisualWidth.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Text/VisualWidth/EUC_JP.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Text/VisualWidth/UTF8.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/VisualWidth/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/VisualWidth/VisualWidth.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/VisualWidth/VisualWidth.so
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/VisualWidth/autosplit.ix
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/VisualWidth
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Text/VisualWidth
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text
|
Loading…
Reference in New Issue
Block a user