diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-08-09 10:00:43 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-08-09 10:00:43 +0000 |
commit | fabc46253f0fdab0f80940e8c52c6899e7781a3a (patch) | |
tree | c30c442c390e46269f80c4f4404593c10c4d5680 /textproc/p5-Tie-Handle-Offset | |
parent | 9235b6d1a5a042a6ff86a4cd29758977a77b1a33 (diff) | |
download | pkgsrc-fabc46253f0fdab0f80940e8c52c6899e7781a3a.tar.gz |
Rename mail/p5-Tie-Handle-SkipHeader -> textproc/p5-Tie-Handle-Offset
Apologies, I used the subclass name instead of the primary module name.
Diffstat (limited to 'textproc/p5-Tie-Handle-Offset')
-rw-r--r-- | textproc/p5-Tie-Handle-Offset/DESCR | 8 | ||||
-rw-r--r-- | textproc/p5-Tie-Handle-Offset/Makefile | 16 | ||||
-rw-r--r-- | textproc/p5-Tie-Handle-Offset/distinfo | 6 |
3 files changed, 30 insertions, 0 deletions
diff --git a/textproc/p5-Tie-Handle-Offset/DESCR b/textproc/p5-Tie-Handle-Offset/DESCR new file mode 100644 index 00000000000..835291e2717 --- /dev/null +++ b/textproc/p5-Tie-Handle-Offset/DESCR @@ -0,0 +1,8 @@ +This modules provides a file handle that hides the beginning of a file. +After opening, the file is positioned at the offset location. seek() and +tell() calls are modified to preserve the offset. + +The Tie::Handle::SkipHeader subclass of Tie::Handle::Offset +automatically hides an email-style message header. After opening the +file, it reads up to a blank or white-space-only line and sets the +offset to the next byte. diff --git a/textproc/p5-Tie-Handle-Offset/Makefile b/textproc/p5-Tie-Handle-Offset/Makefile new file mode 100644 index 00000000000..1404ec0dd02 --- /dev/null +++ b/textproc/p5-Tie-Handle-Offset/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2018/08/09 10:00:43 jperkin Exp $ + +DISTNAME= Tie-Handle-Offset-0.004 +PKGNAME= p5-${DISTNAME} +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tie/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Tie-Handle-Offset/ +COMMENT= Tied handle that hides the beginning of a file +LICENSE= apache-2.0 + +PERL5_PACKLIST= auto/Tie/Handle/Offset/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/p5-Tie-Handle-Offset/distinfo b/textproc/p5-Tie-Handle-Offset/distinfo new file mode 100644 index 00000000000..e135fd225f2 --- /dev/null +++ b/textproc/p5-Tie-Handle-Offset/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/08/09 10:00:43 jperkin Exp $ + +SHA1 (Tie-Handle-Offset-0.004.tar.gz) = 6003c3d5a1d4f82efe9ea705dd7b56b9104cc050 +RMD160 (Tie-Handle-Offset-0.004.tar.gz) = e23c8c0379a428ff8c0bd5b00e5130f5c8d04caf +SHA512 (Tie-Handle-Offset-0.004.tar.gz) = d7f5e2335bb4ac4bb0fdf700e54d33747cc0e718e0bdf012086b565dcde7652ec4dbf065dfd8651ab0574555d506960482028c1cc83c9edc40da9d999ae8e221 +Size (Tie-Handle-Offset-0.004.tar.gz) = 14683 bytes |