Add p5-Text-TabularDisplay 1.18, display text in formatted table output.

Text::TabularDisplay simplifies displaying textual data in a table.
The output is identical to the columnar display of query results
in the mysql text monitor.

WWW: http://search.cpan.org/dist/Text-TabularDisplay

PR:		ports/66804
Submitted by:	Lars Thegler <lars@thegler.dk>
This commit is contained in:
Erwin Lansing 2004-05-18 13:55:50 +00:00
parent e8ecba0d4a
commit 36c916aee8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109435
6 changed files with 51 additions and 0 deletions

View file

@ -327,6 +327,7 @@
SUBDIR += p5-Text-Striphigh
SUBDIR += p5-Text-Table
SUBDIR += p5-Text-Tabs+Wrap
SUBDIR += p5-Text-TabularDisplay
SUBDIR += p5-Text-Template
SUBDIR += p5-Text-Tmpl
SUBDIR += p5-Text-WikiFormat

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: p5-Text-TabularDisplay
# Date created: 16 May 2004
# Whom: Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
PORTNAME= Text-TabularDisplay
PORTVERSION= 1.18
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= lars@thegler.dk
COMMENT= Display text in formatted table output
PERL_CONFIGURE= yes
MAN3= Text::TabularDisplay.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
# make PREFIX-clean under perl 5.005_03
post-configure:
${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (Text-TabularDisplay-1.18.tar.gz) = 06b48726ca3281b2b3ab41eec9c06460
SIZE (Text-TabularDisplay-1.18.tar.gz) = 13557

View file

@ -0,0 +1,11 @@
--- TabularDisplay.pm.orig Sun May 16 23:07:02 2004
+++ TabularDisplay.pm Mon May 17 23:56:08 2004
@@ -240,7 +240,7 @@
push @data, $add->[$i];
$length->[$i] = $l
- unless $length->[$i] > $l;
+ unless defined $length->[$i] and $length->[$i] > $l;
}
push @$where, \@data;
}

View file

@ -0,0 +1,5 @@
Text::TabularDisplay simplifies displaying textual data in a table.
The output is identical to the columnar display of query results
in the mysql text monitor.
WWW: http://search.cpan.org/dist/Text-TabularDisplay

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/Text/TabularDisplay.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/TabularDisplay/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/TabularDisplay
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true