1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-03-07 22:09:15 +00:00
parent a028d7a3ac
commit f4b14ccc60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567601
5 changed files with 55 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1614794170
SHA256 (Text-UnicodeBox-0.03.tar.gz) = c32e7c7ce6bf303289ac61c3b740100eee45430ff281301539364f3e4617246c
SIZE (Text-UnicodeBox-0.03.tar.gz) = 28695

View File

@ -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

View File

@ -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