Date: Sun, 7 Mar 2021 22:09:15 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567601 - in head/textproc: . p5-Text-UnicodeBox Message-ID: <202103072209.127M9Fba026015@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 7 22:09:15 2021 New Revision: 567601 URL: https://svnweb.freebsd.org/changeset/ports/567601 Log: Add p5-Text-UnicodeBox 0.03 Text::UnicodeBox is a low level box drawing interface. You'll most likely want to use one of the higher level modules such as Text::UnicodeBox::Table. The unicode box symbol table is a fairly robust set of symbols that allow you to draw lines and boxes with monospaced fonts. This module allows you to focus on the content of the boxes you need to draw and mostly ignore how to draw a good looking box with proper connections between all the lines. The low level approach is line-based. A box object is created, add_line is called for each line of content you'd like to render, and render is called to complete the box. Output is built up over time, which allows you to stream the output rather then buffering it and printing it in one go. WWW: https://metacpan.org/release/Text-UnicodeBox Added: head/textproc/p5-Text-UnicodeBox/ head/textproc/p5-Text-UnicodeBox/Makefile (contents, props changed) head/textproc/p5-Text-UnicodeBox/distinfo (contents, props changed) head/textproc/p5-Text-UnicodeBox/pkg-descr (contents, props changed) head/textproc/p5-Text-UnicodeBox/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sun Mar 7 22:09:08 2021 (r567600) +++ head/textproc/Makefile Sun Mar 7 22:09:15 2021 (r567601) @@ -958,6 +958,7 @@ SUBDIR += p5-Text-Typography SUBDIR += p5-Text-Unaccent SUBDIR += p5-Text-Unaccent-PurePerl + SUBDIR += p5-Text-UnicodeBox SUBDIR += p5-Text-VimColor SUBDIR += p5-Text-VisualWidth SUBDIR += p5-Text-WideChar-Util Added: head/textproc/p5-Text-UnicodeBox/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Text-UnicodeBox/Makefile Sun Mar 7 22:09:15 2021 (r567601) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Text-UnicodeBox +PORTVERSION= 0.03 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Text box drawing using the Unicode box symbols + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Moose>=0:devel/p5-Moose \ + p5-Text-CharWidth>=0.04:textproc/p5-Text-CharWidth + +USES= perl5 +USE_PERL5= modbuild + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/textproc/p5-Text-UnicodeBox/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Text-UnicodeBox/distinfo Sun Mar 7 22:09:15 2021 (r567601) @@ -0,0 +1,3 @@ +TIMESTAMP = 1614794170 +SHA256 (Text-UnicodeBox-0.03.tar.gz) = c32e7c7ce6bf303289ac61c3b740100eee45430ff281301539364f3e4617246c +SIZE (Text-UnicodeBox-0.03.tar.gz) = 28695 Added: head/textproc/p5-Text-UnicodeBox/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Text-UnicodeBox/pkg-descr Sun Mar 7 22:09:15 2021 (r567601) @@ -0,0 +1,16 @@ +Text::UnicodeBox is a low level box drawing interface. You'll most likely want +to use one of the higher level modules such as Text::UnicodeBox::Table. + +The unicode box symbol table is a fairly robust set of symbols that allow you to +draw lines and boxes with monospaced fonts. This module allows you to focus on +the content of the boxes you need to draw and mostly ignore how to draw a good +looking box with proper connections between all the lines. + +The low level approach is line-based. A box object is created, add_line is +called for each line of content you'd like to render, and render is called to +complete the box. + +Output is built up over time, which allows you to stream the output rather then +buffering it and printing it in one go. + +WWW: https://metacpan.org/release/Text-UnicodeBox Added: head/textproc/p5-Text-UnicodeBox/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Text-UnicodeBox/pkg-plist Sun Mar 7 22:09:15 2021 (r567601) @@ -0,0 +1,10 @@ +%%SITE_PERL%%/Text/UnicodeBox.pm +%%SITE_PERL%%/Text/UnicodeBox/Control.pm +%%SITE_PERL%%/Text/UnicodeBox/Table.pm +%%SITE_PERL%%/Text/UnicodeBox/Text.pm +%%SITE_PERL%%/Text/UnicodeBox/Utility.pm +%%PERL5_MAN3%%/Text::UnicodeBox.3.gz +%%PERL5_MAN3%%/Text::UnicodeBox::Control.3.gz +%%PERL5_MAN3%%/Text::UnicodeBox::Table.3.gz +%%PERL5_MAN3%%/Text::UnicodeBox::Text.3.gz +%%PERL5_MAN3%%/Text::UnicodeBox::Utility.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103072209.127M9Fba026015>