aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-VisualWidth
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2014-05-08 05:43:37 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2014-05-08 05:43:37 +0000
commit6f69e10eb5208525b08d9779c46a43de37eaee49 (patch)
treed457172aeef8ede746b1a2680c0051ad52b5391c /textproc/p5-Text-VisualWidth
parent8b4c76c45c0685f7d6c274ed88b91d23d2fd41fd (diff)
downloadports-6f69e10eb5208525b08d9779c46a43de37eaee49.tar.gz
ports-6f69e10eb5208525b08d9779c46a43de37eaee49.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/
Notes
Notes: svn path=/head/; revision=353275
Diffstat (limited to 'textproc/p5-Text-VisualWidth')
-rw-r--r--textproc/p5-Text-VisualWidth/Makefile18
-rw-r--r--textproc/p5-Text-VisualWidth/distinfo2
-rw-r--r--textproc/p5-Text-VisualWidth/pkg-descr7
-rw-r--r--textproc/p5-Text-VisualWidth/pkg-plist14
4 files changed, 41 insertions, 0 deletions
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