aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-31 13:35:34 +0800
committerwill <will@FreeBSD.org>2000-12-31 13:35:34 +0800
commit010e21c7dd2201ae9fb5d2473eac4adbed233c22 (patch)
treef906f32c393897ea15f0f24ad53c11c36a8a951a
parent827cd94da4450ad12f96b6a506ec94cecc0dcfb1 (diff)
downloadfreebsd-ports-gnome-010e21c7dd2201ae9fb5d2473eac4adbed233c22.tar.gz
freebsd-ports-gnome-010e21c7dd2201ae9fb5d2473eac4adbed233c22.tar.zst
freebsd-ports-gnome-010e21c7dd2201ae9fb5d2473eac4adbed233c22.zip
Add p5-Text-Wrapper 1.000, a perl module that includes a simple word
wrapping routine. PR: 23964 Submitted by: Anton Berezin <tobez@tobez.org>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Wrapper/Makefile23
-rw-r--r--textproc/p5-Text-Wrapper/distinfo1
-rw-r--r--textproc/p5-Text-Wrapper/pkg-comment1
-rw-r--r--textproc/p5-Text-Wrapper/pkg-descr10
-rw-r--r--textproc/p5-Text-Wrapper/pkg-plist5
6 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 3c2e8ef81b0b..83d6668f29b7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -83,6 +83,7 @@
SUBDIR += p5-Text-Flowchart
SUBDIR += p5-Text-Format
SUBDIR += p5-Text-Template
+ SUBDIR += p5-Text-Wrapper
SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-Parser
SUBDIR += p5-XML-RSS
diff --git a/textproc/p5-Text-Wrapper/Makefile b/textproc/p5-Text-Wrapper/Makefile
new file mode 100644
index 000000000000..2ea53c43316a
--- /dev/null
+++ b/textproc/p5-Text-Wrapper/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: textproc/p5- Text-Wrapper
+# Date created: 30 December 2000
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Wrapper
+PORTVERSION= 1.000
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= Text::Wrapper.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Wrapper/distinfo b/textproc/p5-Text-Wrapper/distinfo
new file mode 100644
index 000000000000..de2e796a6cc8
--- /dev/null
+++ b/textproc/p5-Text-Wrapper/distinfo
@@ -0,0 +1 @@
+MD5 (Text-Wrapper-1.000.tar.gz) = 9f78b13b4c32c61e6aac5cefd75989dd
diff --git a/textproc/p5-Text-Wrapper/pkg-comment b/textproc/p5-Text-Wrapper/pkg-comment
new file mode 100644
index 000000000000..3a9667101a44
--- /dev/null
+++ b/textproc/p5-Text-Wrapper/pkg-comment
@@ -0,0 +1 @@
+Simple word wrapping routine
diff --git a/textproc/p5-Text-Wrapper/pkg-descr b/textproc/p5-Text-Wrapper/pkg-descr
new file mode 100644
index 000000000000..3ca7da001c18
--- /dev/null
+++ b/textproc/p5-Text-Wrapper/pkg-descr
@@ -0,0 +1,10 @@
+This module provides simple word wrapping. It breaks long lines, but
+does not alter spacing or remove existing line breaks. If you're
+looking for more sophisticated text formatting, try the Text::Format
+module.
+
+In short, Text::Wrapper is the object-oriented equivalent of Text::Wrap,
+but with fewer bugs (I hope).
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-Text-Wrapper/pkg-plist b/textproc/p5-Text-Wrapper/pkg-plist
new file mode 100644
index 000000000000..a6c8643e2ef1
--- /dev/null
+++ b/textproc/p5-Text-Wrapper/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Wrapper/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Text/Wrapper.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Wrapper
+@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