6f69e10eb5
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/
18 lines
319 B
Makefile
18 lines
319 B
Makefile
# $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>
|