1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add p5-Text-Format 0.52, a perl module that includes various subroutines

to format text.

PR:		23963
Submitted by:	Anton Berezin <tobez@tobez.org>
This commit is contained in:
Will Andrews 2000-12-31 05:34:30 +00:00
parent 6d94f472e5
commit e0d218180e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36502
6 changed files with 42 additions and 0 deletions

View File

@ -81,6 +81,7 @@
SUBDIR += p5-Text-Filter-Chain
SUBDIR += p5-Text-FixedLength
SUBDIR += p5-Text-Flowchart
SUBDIR += p5-Text-Format
SUBDIR += p5-Text-Template
SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-Parser

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: textproc/p5-Text-Format
# Date created: 30 December 2000
# Whom: Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#
PORTNAME= Text-Format
PORTVERSION= 0.52
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= tobez@tobez.org
USE_PERL5= yes
PERL_CONFIGURE= yes
MAN3= Text::Format.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Text-Format0.52.tar.gz) = 9b1936e65ee05d904bb329e32259814f

View File

@ -0,0 +1 @@
Various subroutines to format text

View File

@ -0,0 +1,10 @@
The format routine will format under all circumstances even if the width
isn't enough to contain the longest words. Text::Wrap will die under
these circumstances, although I am told this is fixed. If columns is set
to a small number and words are longer than that and the leading
'whitespace' than there will be a single word on each line. This will
let you make a simple word list which could be indented or right
aligned.
-Anton
<tobez@tobez.org>

View File

@ -0,0 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Format/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Text/Format.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Format
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true