aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Reflow
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2002-11-23 04:50:49 +0800
committernork <nork@FreeBSD.org>2002-11-23 04:50:49 +0800
commit54123a4b41141d19da6f66f9153e41eaf992698f (patch)
treea87b80b117e4deb3355e2a1dc8fb2db8a7742c9a /textproc/p5-Text-Reflow
parent08bf1374ca6fb87dee6c87e8b9e8bd9a9661ef7d (diff)
downloadfreebsd-ports-gnome-54123a4b41141d19da6f66f9153e41eaf992698f.tar.gz
freebsd-ports-gnome-54123a4b41141d19da6f66f9153e41eaf992698f.tar.zst
freebsd-ports-gnome-54123a4b41141d19da6f66f9153e41eaf992698f.zip
Add p5-Text-Reflow 1.04, perl module for reflowing text files.
PR: ports/41265 Submitted by: Mathieu Arnold <m@absolight.net>
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