From e0d218180e51e704b8a556cfae31f5ab75a0cf0d Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sun, 31 Dec 2000 05:34:30 +0000 Subject: [PATCH] Add p5-Text-Format 0.52, a perl module that includes various subroutines to format text. PR: 23963 Submitted by: Anton Berezin --- textproc/Makefile | 1 + textproc/p5-Text-Format/Makefile | 24 ++++++++++++++++++++++++ textproc/p5-Text-Format/distinfo | 1 + textproc/p5-Text-Format/pkg-comment | 1 + textproc/p5-Text-Format/pkg-descr | 10 ++++++++++ textproc/p5-Text-Format/pkg-plist | 5 +++++ 6 files changed, 42 insertions(+) create mode 100644 textproc/p5-Text-Format/Makefile create mode 100644 textproc/p5-Text-Format/distinfo create mode 100644 textproc/p5-Text-Format/pkg-comment create mode 100644 textproc/p5-Text-Format/pkg-descr create mode 100644 textproc/p5-Text-Format/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 607fd38d693c..3c2e8ef81b0b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/p5-Text-Format/Makefile b/textproc/p5-Text-Format/Makefile new file mode 100644 index 000000000000..c1dcc35f8b3b --- /dev/null +++ b/textproc/p5-Text-Format/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: textproc/p5-Text-Format +# Date created: 30 December 2000 +# Whom: Anton Berezin +# +# $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 diff --git a/textproc/p5-Text-Format/distinfo b/textproc/p5-Text-Format/distinfo new file mode 100644 index 000000000000..8b07a738fb01 --- /dev/null +++ b/textproc/p5-Text-Format/distinfo @@ -0,0 +1 @@ +MD5 (Text-Format0.52.tar.gz) = 9b1936e65ee05d904bb329e32259814f diff --git a/textproc/p5-Text-Format/pkg-comment b/textproc/p5-Text-Format/pkg-comment new file mode 100644 index 000000000000..a6af685fc6f4 --- /dev/null +++ b/textproc/p5-Text-Format/pkg-comment @@ -0,0 +1 @@ +Various subroutines to format text diff --git a/textproc/p5-Text-Format/pkg-descr b/textproc/p5-Text-Format/pkg-descr new file mode 100644 index 000000000000..5a19790e4fed --- /dev/null +++ b/textproc/p5-Text-Format/pkg-descr @@ -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 + diff --git a/textproc/p5-Text-Format/pkg-plist b/textproc/p5-Text-Format/pkg-plist new file mode 100644 index 000000000000..c3961cbc9ef5 --- /dev/null +++ b/textproc/p5-Text-Format/pkg-plist @@ -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