aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Reflow
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-11-22 20:50:49 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-11-22 20:50:49 +0000
commitdd0f352f7925e44db7523a4343c4dfc44196281d (patch)
tree31895a58a09830a035ba496fb657a39043f8902b /textproc/p5-Text-Reflow
parent4664f6012229891397b1026c6878bc51e0b69aef (diff)
downloadports-dd0f352f7925e44db7523a4343c4dfc44196281d.tar.gz
ports-dd0f352f7925e44db7523a4343c4dfc44196281d.zip
Add p5-Text-Reflow 1.04, perl module for reflowing text files.
PR: ports/41265 Submitted by: Mathieu Arnold <m@absolight.net>
Notes
Notes: svn path=/head/; revision=70767
Diffstat (limited to 'textproc/p5-Text-Reflow')
-rw-r--r--textproc/p5-Text-Reflow/Makefile27
-rw-r--r--textproc/p5-Text-Reflow/distinfo1
-rw-r--r--textproc/p5-Text-Reflow/pkg-comment1
-rw-r--r--textproc/p5-Text-Reflow/pkg-descr3
-rw-r--r--textproc/p5-Text-Reflow/pkg-plist7
5 files changed, 39 insertions, 0 deletions
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 <m@absolight.net>
+#
+# $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 <bsd.port.mk>
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