summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Format/Makefile24
-rw-r--r--textproc/p5-Text-Format/distinfo1
-rw-r--r--textproc/p5-Text-Format/pkg-comment1
-rw-r--r--textproc/p5-Text-Format/pkg-descr10
-rw-r--r--textproc/p5-Text-Format/pkg-plist5
6 files changed, 42 insertions, 0 deletions
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 <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>
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
+<tobez@tobez.org>
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