diff options
author | seb <seb> | 2007-05-13 17:55:16 +0000 |
---|---|---|
committer | seb <seb> | 2007-05-13 17:55:16 +0000 |
commit | 9e6ed7439a1b431327617a4d2ff2c3f17623807b (patch) | |
tree | ade3a90c6ac07c8bdb6074c516af80acc78cb6ec | |
parent | c10f5412e6937e36e4f19557920691b5013850d8 (diff) | |
download | pkgsrc-9e6ed7439a1b431327617a4d2ff2c3f17623807b.tar.gz |
Initial import of p5-IO-InSitu version 0.0.2 into The NetBSD
Packages Collection.
The Perl 5 module IO::InSitu provides the open_rw( ) subroutine:
It takes the names of two files: one to be opened for reading, the
other for writing. It returns a list of two filehandles, opened to
those two files. However, if the two filenames refer to the same
file, open_rw( ) first makes a temporary copy of the file, which
it opens for input. It then opens the original file for output. In
such cases, when the input filehandle is eventually closed, IO::InSitu
arranges for the temporary file to be automatically deleted.
-rw-r--r-- | devel/p5-IO-InSitu/DESCR | 8 | ||||
-rw-r--r-- | devel/p5-IO-InSitu/Makefile | 19 | ||||
-rw-r--r-- | devel/p5-IO-InSitu/PLIST | 1 | ||||
-rw-r--r-- | devel/p5-IO-InSitu/distinfo | 5 |
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/p5-IO-InSitu/DESCR b/devel/p5-IO-InSitu/DESCR new file mode 100644 index 00000000000..ef230e1053f --- /dev/null +++ b/devel/p5-IO-InSitu/DESCR @@ -0,0 +1,8 @@ +The Perl 5 module IO::InSitu provides the open_rw( ) subroutine: +It takes the names of two files: one to be opened for reading, the +other for writing. It returns a list of two filehandles, opened to +those two files. However, if the two filenames refer to the same +file, open_rw( ) first makes a temporary copy of the file, which +it opens for input. It then opens the original file for output. In +such cases, when the input filehandle is eventually closed, IO::InSitu +arranges for the temporary file to be automatically deleted. diff --git a/devel/p5-IO-InSitu/Makefile b/devel/p5-IO-InSitu/Makefile new file mode 100644 index 00000000000..6ca84cbf7ca --- /dev/null +++ b/devel/p5-IO-InSitu/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/05/13 17:55:16 seb Exp $ +# + +DISTNAME= IO-InSitu-0.0.2 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/IO-InSitu/ +COMMENT= Perl 5 module to do in-situ processing on a file + +DEPENDS+= p5-version-[0-9]*:../../devel/p5-version + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/IO/InSitu/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-IO-InSitu/PLIST b/devel/p5-IO-InSitu/PLIST new file mode 100644 index 00000000000..22ddef23461 --- /dev/null +++ b/devel/p5-IO-InSitu/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/13 17:55:16 seb Exp $ diff --git a/devel/p5-IO-InSitu/distinfo b/devel/p5-IO-InSitu/distinfo new file mode 100644 index 00000000000..46174b0bfcb --- /dev/null +++ b/devel/p5-IO-InSitu/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/05/13 17:55:16 seb Exp $ + +SHA1 (IO-InSitu-0.0.2.tar.gz) = e52a52f742c81c35cadf41fe43db5fe1362f2a7d +RMD160 (IO-InSitu-0.0.2.tar.gz) = ee4958edabe9a7be1683f49a8d78c5bd08dd3cc9 +Size (IO-InSitu-0.0.2.tar.gz) = 5824 bytes |