aboutsummaryrefslogtreecommitdiff
path: root/textproc
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
parent8b4c76c45c0685f7d6c274ed88b91d23d2fd41fd (diff)
downloadports-6f69e10eb5208525b08d9779c46a43de37eaee49.tar.gz
ports-6f69e10eb5208525b08d9779c46a43de37eaee49.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
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