diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2014-05-08 13:43:37 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2014-05-08 13:43:37 +0800 |
commit | a407b715f3ed11dc3e969a26612113b06f3db8b7 (patch) | |
tree | d457172aeef8ede746b1a2680c0051ad52b5391c /textproc | |
parent | 370fbb39447ac11a04dd6c05f8b0a8ecef456682 (diff) | |
download | freebsd-ports-gnome-a407b715f3ed11dc3e969a26612113b06f3db8b7.tar.gz freebsd-ports-gnome-a407b715f3ed11dc3e969a26612113b06f3db8b7.tar.zst freebsd-ports-gnome-a407b715f3ed11dc3e969a26612113b06f3db8b7.zip |
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/
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Text-VisualWidth/Makefile | 18 | ||||
-rw-r--r-- | textproc/p5-Text-VisualWidth/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-Text-VisualWidth/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/p5-Text-VisualWidth/pkg-plist | 14 |
5 files changed, 42 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 71a53261a6e5..539d45d74842 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/p5-Text-VisualWidth/Makefile b/textproc/p5-Text-VisualWidth/Makefile new file mode 100644 index 000000000000..46dbf2688e96 --- /dev/null +++ b/textproc/p5-Text-VisualWidth/Makefile @@ -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> diff --git a/textproc/p5-Text-VisualWidth/distinfo b/textproc/p5-Text-VisualWidth/distinfo new file mode 100644 index 000000000000..c770af950651 --- /dev/null +++ b/textproc/p5-Text-VisualWidth/distinfo @@ -0,0 +1,2 @@ +SHA256 (Text-VisualWidth-0.02.tar.gz) = 3b019e2b9ee133f7afb5095e497af269569f13bfb97c271d6db6ca204bc1cb73 +SIZE (Text-VisualWidth-0.02.tar.gz) = 32459 diff --git a/textproc/p5-Text-VisualWidth/pkg-descr b/textproc/p5-Text-VisualWidth/pkg-descr new file mode 100644 index 000000000000..224923b7f486 --- /dev/null +++ b/textproc/p5-Text-VisualWidth/pkg-descr @@ -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/ diff --git a/textproc/p5-Text-VisualWidth/pkg-plist b/textproc/p5-Text-VisualWidth/pkg-plist new file mode 100644 index 000000000000..ed9df5161099 --- /dev/null +++ b/textproc/p5-Text-VisualWidth/pkg-plist @@ -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 |