Date: Sun, 17 Feb 2019 19:36:52 +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: r493185 - in head/devel: . p5-Term-TablePrint Message-ID: <201902171936.x1HJaqt8032720@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Feb 17 19:36:51 2019 New Revision: 493185 URL: https://svnweb.freebsd.org/changeset/ports/493185 Log: Add p5-Term-TablePrint 0.108 Term::TablePrint shows a table and lets the user interactively browse it. It provides a cursor which highlights the row on which it is located. The user can scroll through the table with the different cursor keys. If the table has more rows than the terminal, the table is divided up on as many pages as needed automatically. If the cursor reaches the end of a page, the next page is shown automatically until the last page is reached. Also if the cursor reaches the topmost line, the previous page is shown automatically if it is not already the first one. If the terminal is too narrow to print the table, the columns are adjusted to the available width automatically. If the option table_expand is enabled and a row is selected with Return, each column of that row is output in its own line preceded by the column name. This might be useful if the columns were cut due to the too low terminal width. WWW: https://metacpan.org/release/Term-TablePrint Added: head/devel/p5-Term-TablePrint/ head/devel/p5-Term-TablePrint/Makefile (contents, props changed) head/devel/p5-Term-TablePrint/distinfo (contents, props changed) head/devel/p5-Term-TablePrint/pkg-descr (contents, props changed) head/devel/p5-Term-TablePrint/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Feb 17 19:36:26 2019 (r493184) +++ head/devel/Makefile Sun Feb 17 19:36:51 2019 (r493185) @@ -3504,6 +3504,7 @@ SUBDIR += p5-Term-Size-Perl SUBDIR += p5-Term-Sk SUBDIR += p5-Term-Table + SUBDIR += p5-Term-TablePrint SUBDIR += p5-Term-Title SUBDIR += p5-Term-UI SUBDIR += p5-Term-VT102 Added: head/devel/p5-Term-TablePrint/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-TablePrint/Makefile Sun Feb 17 19:36:51 2019 (r493185) @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Term-TablePrint +PORTVERSION= 0.108 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Print a table to the terminal and browse it interactively + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Term-Choose>=1.644:devel/p5-Term-Choose \ + p5-Term-Choose-Util>=0.069:devel/p5-Term-Choose-Util + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/p5-Term-TablePrint/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-TablePrint/distinfo Sun Feb 17 19:36:51 2019 (r493185) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550417320 +SHA256 (Term-TablePrint-0.108.tar.gz) = 4ee33a966f000a47004531773d7de04996fa1f10fdbc63911631dc1a343fa7bf +SIZE (Term-TablePrint-0.108.tar.gz) = 22269 Added: head/devel/p5-Term-TablePrint/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-TablePrint/pkg-descr Sun Feb 17 19:36:51 2019 (r493185) @@ -0,0 +1,18 @@ +Term::TablePrint shows a table and lets the user interactively browse it. It +provides a cursor which highlights the row on which it is located. The user can +scroll through the table with the different cursor keys. + +If the table has more rows than the terminal, the table is divided up on as many +pages as needed automatically. If the cursor reaches the end of a page, the next +page is shown automatically until the last page is reached. Also if the cursor +reaches the topmost line, the previous page is shown automatically if it is not +already the first one. + +If the terminal is too narrow to print the table, the columns are adjusted to +the available width automatically. + +If the option table_expand is enabled and a row is selected with Return, each +column of that row is output in its own line preceded by the column name. This +might be useful if the columns were cut due to the too low terminal width. + +WWW: https://metacpan.org/release/Term-TablePrint Added: head/devel/p5-Term-TablePrint/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-TablePrint/pkg-plist Sun Feb 17 19:36:51 2019 (r493185) @@ -0,0 +1,3 @@ +%%SITE_PERL%%/Term/TablePrint.pm +%%SITE_PERL%%/Term/TablePrint/ProgressBar.pm +%%PERL5_MAN3%%/Term::TablePrint.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902171936.x1HJaqt8032720>