summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Filter
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-31 05:23:35 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-31 05:23:35 +0000
commit11166c486207c4b4eb892f9a33c2693b11a39381 (patch)
tree1574df57bc26f735a637db84d7247690709934d2 /textproc/p5-Text-Filter
parentAdd p5-Text-FillIn 0.05, a Perl module (class) implementing a fill-in (diff)
Add p5-Text-Filter 1.7, a perl module with a base class for objects that
can read and write text lines. PR: 23931 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=36498
Diffstat (limited to 'textproc/p5-Text-Filter')
-rw-r--r--textproc/p5-Text-Filter/Makefile23
-rw-r--r--textproc/p5-Text-Filter/distinfo1
-rw-r--r--textproc/p5-Text-Filter/pkg-comment1
-rw-r--r--textproc/p5-Text-Filter/pkg-descr24
-rw-r--r--textproc/p5-Text-Filter/pkg-plist5
5 files changed, 54 insertions, 0 deletions
diff --git a/textproc/p5-Text-Filter/Makefile b/textproc/p5-Text-Filter/Makefile
new file mode 100644
index 000000000000..62e68b621990
--- /dev/null
+++ b/textproc/p5-Text-Filter/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: textproc/p5-Text-Filter
+# Date created: 29 December 2000
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Filter
+PORTVERSION= 1.7
+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::Filter.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Filter/distinfo b/textproc/p5-Text-Filter/distinfo
new file mode 100644
index 000000000000..b33352c66b9e
--- /dev/null
+++ b/textproc/p5-Text-Filter/distinfo
@@ -0,0 +1 @@
+MD5 (Text-Filter-1.7.tar.gz) = 3a2f2caaf3b44ae67c06cf850a42016f
diff --git a/textproc/p5-Text-Filter/pkg-comment b/textproc/p5-Text-Filter/pkg-comment
new file mode 100644
index 000000000000..d4543ce860f0
--- /dev/null
+++ b/textproc/p5-Text-Filter/pkg-comment
@@ -0,0 +1 @@
+Base class for objects that can read and write text lines
diff --git a/textproc/p5-Text-Filter/pkg-descr b/textproc/p5-Text-Filter/pkg-descr
new file mode 100644
index 000000000000..8460212c293b
--- /dev/null
+++ b/textproc/p5-Text-Filter/pkg-descr
@@ -0,0 +1,24 @@
+A plethora of tools exist that operate as filters: they get data from a
+source, operate on this data, and write possibly modified data to a
+destination. In the Unix world, these tools can be chained using a
+technique called pipelining, where the output of one filter is connected
+to the input of another filter. Some non-Unix worlds are reported to
+have similar provisions.
+
+To create Perl modules for filter functionality seems trivial at first.
+Just open the input file, read and process it, and write output to a
+destination file. But for really reusable modules this approach is too
+simple. A reusable module should not read and write files itself, but
+rely on the calling program to provide input as well as to handle the
+output.
+
+Text::Filter is a base class for modules that have in common that they
+process text lines by reading from some source (usually a file),
+manipulating the contents and writing something back to some destination
+(usually some other file).
+
+This module can be used 'as is', but its real power shows when used to
+derive modules from it.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-Text-Filter/pkg-plist b/textproc/p5-Text-Filter/pkg-plist
new file mode 100644
index 000000000000..dc5e9aff99e3
--- /dev/null
+++ b/textproc/p5-Text-Filter/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Filter/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Text/Filter.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Filter
+@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