From owner-svn-ports-all@freebsd.org Sun Mar 7 22:09:17 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A271E57605E; Sun, 7 Mar 2021 22:09:17 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtwcF2Mgvz3tCh; Sun, 7 Mar 2021 22:09:17 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9B3271D6FA; Sun, 7 Mar 2021 22:09:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 127M9GPg026020; Sun, 7 Mar 2021 22:09:16 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 127M9Fba026015; Sun, 7 Mar 2021 22:09:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202103072209.127M9Fba026015@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 7 Mar 2021 22:09:15 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/textproc: . p5-Text-UnicodeBox X-SVN-Commit-Revision: 567601 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2021 22:09:17 -0000 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 +# $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 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