pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-IO-InSitu Initial import of p5-IO-InSitu vers...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f2001e45c710
branches: trunk
changeset: 528737:f2001e45c710
user: seb <seb%pkgsrc.org@localhost>
date: Sun May 13 17:55:16 2007 +0000
description:
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.
diffstat:
devel/p5-IO-InSitu/DESCR | 8 ++++++++
devel/p5-IO-InSitu/Makefile | 19 +++++++++++++++++++
devel/p5-IO-InSitu/PLIST | 1 +
devel/p5-IO-InSitu/distinfo | 5 +++++
4 files changed, 33 insertions(+), 0 deletions(-)
diffs (49 lines):
diff -r a9a7fc52242d -r f2001e45c710 devel/p5-IO-InSitu/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-IO-InSitu/DESCR Sun May 13 17:55:16 2007 +0000
@@ -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 -r a9a7fc52242d -r f2001e45c710 devel/p5-IO-InSitu/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-IO-InSitu/Makefile Sun May 13 17:55:16 2007 +0000
@@ -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@localhost
+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 -r a9a7fc52242d -r f2001e45c710 devel/p5-IO-InSitu/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-IO-InSitu/PLIST Sun May 13 17:55:16 2007 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/13 17:55:16 seb Exp $
diff -r a9a7fc52242d -r f2001e45c710 devel/p5-IO-InSitu/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-IO-InSitu/distinfo Sun May 13 17:55:16 2007 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index