From 54123a4b41141d19da6f66f9153e41eaf992698f Mon Sep 17 00:00:00 2001 From: nork Date: Fri, 22 Nov 2002 20:50:49 +0000 Subject: Add p5-Text-Reflow 1.04, perl module for reflowing text files. PR: ports/41265 Submitted by: Mathieu Arnold --- textproc/p5-Text-Reflow/Makefile | 27 +++++++++++++++++++++++++++ textproc/p5-Text-Reflow/distinfo | 1 + textproc/p5-Text-Reflow/pkg-comment | 1 + textproc/p5-Text-Reflow/pkg-descr | 3 +++ textproc/p5-Text-Reflow/pkg-plist | 7 +++++++ 5 files changed, 39 insertions(+) create mode 100644 textproc/p5-Text-Reflow/Makefile create mode 100644 textproc/p5-Text-Reflow/distinfo create mode 100644 textproc/p5-Text-Reflow/pkg-comment create mode 100644 textproc/p5-Text-Reflow/pkg-descr create mode 100644 textproc/p5-Text-Reflow/pkg-plist (limited to 'textproc/p5-Text-Reflow') diff --git a/textproc/p5-Text-Reflow/Makefile b/textproc/p5-Text-Reflow/Makefile new file mode 100644 index 000000000000..1053417bafa1 --- /dev/null +++ b/textproc/p5-Text-Reflow/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: textproc/p5- Text-Reflow +# Date created: 2 August 2002 +# Whom: Mathieu Arnold +# +# $FreeBSD$ +# + +PORTNAME= Text-Reflow +PORTVERSION= 1.04 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Text +PKGNAMEPREFIX= p5- + +MAINTAINER= m@absolight.net + +PERL_CONFIGURE= yes + +MAN3= Text::Reflow.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +pre-everything: + @${PERL} -M5.006 -e1 2>/dev/null || \ + ( ${ECHO_MSG} "===> Requires perl 5.6 or above (available from the port collection)"; \ + ${FALSE} ) + +.include diff --git a/textproc/p5-Text-Reflow/distinfo b/textproc/p5-Text-Reflow/distinfo new file mode 100644 index 000000000000..0cc8c7081723 --- /dev/null +++ b/textproc/p5-Text-Reflow/distinfo @@ -0,0 +1 @@ +MD5 (Text-Reflow-1.04.tar.gz) =3D 9b7d192cda3ffe8de76735c843352200 diff --git a/textproc/p5-Text-Reflow/pkg-comment b/textproc/p5-Text-Reflow/pkg-comment new file mode 100644 index 000000000000..e8d991623465 --- /dev/null +++ b/textproc/p5-Text-Reflow/pkg-comment @@ -0,0 +1 @@ +Perl module for reflowing text files diff --git a/textproc/p5-Text-Reflow/pkg-descr b/textproc/p5-Text-Reflow/pkg-descr new file mode 100644 index 000000000000..50f1f2e95309 --- /dev/null +++ b/textproc/p5-Text-Reflow/pkg-descr @@ -0,0 +1,3 @@ +These routines will reflow the paragraphs in the given file, filehandle, +string or array using Knuth's paragraphing algorithm (as used in TeX) to +pick "good" places to break the lines. diff --git a/textproc/p5-Text-Reflow/pkg-plist b/textproc/p5-Text-Reflow/pkg-plist new file mode 100644 index 000000000000..0018d8a10b05 --- /dev/null +++ b/textproc/p5-Text-Reflow/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow/Reflow.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow/Reflow.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/Reflow.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reflow +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text > /dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text > /dev/null || true -- cgit