aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-ANSI-Util
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-21 00:19:20 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-21 00:19:20 +0000
commit34def7fa5564cd18156f29c89ecc78e1db8c3746 (patch)
treea959977abdc3e73f691f848ba34574779e35e2cd /textproc/p5-Text-ANSI-Util
parentf7c81405ea70f1b3f1992a532d387e485f879213 (diff)
downloadports-34def7fa5564cd18156f29c89ecc78e1db8c3746.tar.gz
ports-34def7fa5564cd18156f29c89ecc78e1db8c3746.zip
Notes
Diffstat (limited to 'textproc/p5-Text-ANSI-Util')
-rw-r--r--textproc/p5-Text-ANSI-Util/Makefile24
-rw-r--r--textproc/p5-Text-ANSI-Util/distinfo3
-rw-r--r--textproc/p5-Text-ANSI-Util/pkg-descr5
-rw-r--r--textproc/p5-Text-ANSI-Util/pkg-plist4
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/p5-Text-ANSI-Util/Makefile b/textproc/p5-Text-ANSI-Util/Makefile
new file mode 100644
index 000000000000..057c6c959318
--- /dev/null
+++ b/textproc/p5-Text-ANSI-Util/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Text-ANSI-Util
+PORTVERSION= 0.22
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Routines for text containing ANSI color codes
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= p5-Data-Dump>=0:devel/p5-Data-Dump
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-ANSI-Util/distinfo b/textproc/p5-Text-ANSI-Util/distinfo
new file mode 100644
index 000000000000..13a6986e6cbd
--- /dev/null
+++ b/textproc/p5-Text-ANSI-Util/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552168548
+SHA256 (Text-ANSI-Util-0.22.tar.gz) = c96a915621c5acefa4031c755b248a25bc173b9682a0a483b7b6f8cc8a1dca02
+SIZE (Text-ANSI-Util-0.22.tar.gz) = 28122
diff --git a/textproc/p5-Text-ANSI-Util/pkg-descr b/textproc/p5-Text-ANSI-Util/pkg-descr
new file mode 100644
index 000000000000..43b3f08c828f
--- /dev/null
+++ b/textproc/p5-Text-ANSI-Util/pkg-descr
@@ -0,0 +1,5 @@
+Text::ANSI::Util provides routines for dealing with text that contains ANSI
+color codes, e.g. for determining its length/width (excluding the color codes),
+stripping the color codes, extracting the color codes, and so on.
+
+WWW: https://metacpan.org/release/Text-ANSI-Util
diff --git a/textproc/p5-Text-ANSI-Util/pkg-plist b/textproc/p5-Text-ANSI-Util/pkg-plist
new file mode 100644
index 000000000000..b4897aada67a
--- /dev/null
+++ b/textproc/p5-Text-ANSI-Util/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/Text/ANSI/BaseUtil.pm
+%%SITE_PERL%%/Text/ANSI/Util.pm
+%%PERL5_MAN3%%/Text::ANSI::BaseUtil.3.gz
+%%PERL5_MAN3%%/Text::ANSI::Util.3.gz