summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2007-11-13 15:58:43 +0000
committerjnemeth <jnemeth@pkgsrc.org>2007-11-13 15:58:43 +0000
commit321c89f6f619d6f74919d42797a3372da38e53a3 (patch)
tree9e375e25aaacf970a47083ce7152c91f945aab69 /textproc
parent62058e674a6b15f0e8292729903dbdfc281684b2 (diff)
downloadpkgsrc-321c89f6f619d6f74919d42797a3372da38e53a3.tar.gz
This module reads a file backwards line by line. It is simple to use,
memory efficient and fast. It supports both an object and a tied handle interface. It is intended for processing log and other similar text files which typically have their newest entries appended to them. By default files are assumed to be plain text and have a line ending appropriate to the OS. But you can set the input record separator string on a per file basis.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-File-ReadBackwards/DESCR9
-rw-r--r--textproc/p5-File-ReadBackwards/Makefile19
-rw-r--r--textproc/p5-File-ReadBackwards/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/textproc/p5-File-ReadBackwards/DESCR b/textproc/p5-File-ReadBackwards/DESCR
new file mode 100644
index 00000000000..a57f1048eeb
--- /dev/null
+++ b/textproc/p5-File-ReadBackwards/DESCR
@@ -0,0 +1,9 @@
+This module reads a file backwards line by line. It is simple to use,
+memory efficient and fast. It supports both an object and a tied handle
+interface.
+
+It is intended for processing log and other similar text files which
+typically have their newest entries appended to them. By default files
+are assumed to be plain text and have a line ending appropriate to the
+OS. But you can set the input record separator string on a per file
+basis.
diff --git a/textproc/p5-File-ReadBackwards/Makefile b/textproc/p5-File-ReadBackwards/Makefile
new file mode 100644
index 00000000000..37b75a17888
--- /dev/null
+++ b/textproc/p5-File-ReadBackwards/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/13 15:58:43 jnemeth Exp $
+#
+
+DISTNAME= File-ReadBackwards-1.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/File-ReadBackwards/
+COMMENT= Perl 5 module to read a file backwards by lines
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/File/ReadBackwards/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-File-ReadBackwards/distinfo b/textproc/p5-File-ReadBackwards/distinfo
new file mode 100644
index 00000000000..0ba37c6e3d1
--- /dev/null
+++ b/textproc/p5-File-ReadBackwards/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/13 15:58:43 jnemeth Exp $
+
+SHA1 (File-ReadBackwards-1.04.tar.gz) = 19874cb169f2b105c82222588a163fb17bd77599
+RMD160 (File-ReadBackwards-1.04.tar.gz) = ab166d1797b0e95ae8990ee583071337bfb54fdf
+Size (File-ReadBackwards-1.04.tar.gz) = 8318 bytes