svn commit: r548005 - in head/textproc: . p5-String-TtyLength
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Sep 8 17:48:40 UTC 2020
Author: sunpoet
Date: Tue Sep 8 17:48:34 2020
New Revision: 548005
URL: https://svnweb.freebsd.org/changeset/ports/548005
Log:
Add p5-String-TtyLength 0.01
String::TtyLength provides a single function, tty_length, which returns the
length of a string excluding any ANSI tty / terminal escape codes. I.e. the
number of characters that will appear on screen. This is useful if you're
working out the width of columns, or aligning text.
WWW: https://metacpan.org/release/String-TtyLength
Added:
head/textproc/p5-String-TtyLength/
head/textproc/p5-String-TtyLength/Makefile (contents, props changed)
head/textproc/p5-String-TtyLength/distinfo (contents, props changed)
head/textproc/p5-String-TtyLength/pkg-descr (contents, props changed)
head/textproc/p5-String-TtyLength/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Tue Sep 8 17:48:28 2020 (r548004)
+++ head/textproc/Makefile Tue Sep 8 17:48:34 2020 (r548005)
@@ -772,6 +772,7 @@
SUBDIR += p5-String-Tokenizer
SUBDIR += p5-String-Trim
SUBDIR += p5-String-Truncate
+ SUBDIR += p5-String-TtyLength
SUBDIR += p5-String-Urandom
SUBDIR += p5-String-Util
SUBDIR += p5-Syntax-Highlight-Engine-Kate
Added: head/textproc/p5-String-TtyLength/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-String-TtyLength/Makefile Tue Sep 8 17:48:34 2020 (r548005)
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= String-TtyLength
+PORTVERSION= 0.01
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Calculate length of string excluding ANSI tty codes
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= p5-Test2-Suite>=0:devel/p5-Test2-Suite
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/textproc/p5-String-TtyLength/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-String-TtyLength/distinfo Tue Sep 8 17:48:34 2020 (r548005)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1599574499
+SHA256 (String-TtyLength-0.01.tar.gz) = d1b43ca4ff7477eb42645ae3c17a9873516df631b5e8c468c4adf25eba4cfbe4
+SIZE (String-TtyLength-0.01.tar.gz) = 9639
Added: head/textproc/p5-String-TtyLength/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-String-TtyLength/pkg-descr Tue Sep 8 17:48:34 2020 (r548005)
@@ -0,0 +1,6 @@
+String::TtyLength provides a single function, tty_length, which returns the
+length of a string excluding any ANSI tty / terminal escape codes. I.e. the
+number of characters that will appear on screen. This is useful if you're
+working out the width of columns, or aligning text.
+
+WWW: https://metacpan.org/release/String-TtyLength
Added: head/textproc/p5-String-TtyLength/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-String-TtyLength/pkg-plist Tue Sep 8 17:48:34 2020 (r548005)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/String/TtyLength.pm
+%%PERL5_MAN3%%/String::TtyLength.3.gz
More information about the svn-ports-all
mailing list