pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/p5-File-NCopy Initial import of p5-File-NCopy...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a5a8a7cde7f
branches: trunk
changeset: 496244:9a5a8a7cde7f
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jun 24 20:11:12 2005 +0000
description:
Initial import of p5-File-NCopy-0.34:
File::NCopy::copy copies files to directories, or a single file to
another file. You can also use a reference to a file handle if
you wish whem doing a file to file copy. The functionality is very
similar to cp. If the argument is a directory to directory copy
and the recursive flag is set then it is done recursively like cp
-R. In fact it behaves like cp on Unix for the most part. If
called in array context, an array of successful copies is returned,
otherwise the number of succesful copies is returned. If passed
a file handle, it's difficult to make sure the file we are copying
isn't the same that we are copying to, since by opening the file
in write mode it gets pooched. To avoid this use file names instead,
if at all possible, especially for the to file. If passed a file
handle, it is not closed when copy returns, files opened by copy
are closed.
diffstat:
sysutils/p5-File-NCopy/DESCR | 14 ++++++++++++++
sysutils/p5-File-NCopy/Makefile | 17 +++++++++++++++++
sysutils/p5-File-NCopy/PLIST | 1 +
sysutils/p5-File-NCopy/distinfo | 5 +++++
4 files changed, 37 insertions(+), 0 deletions(-)
diffs (53 lines):
diff -r 7ff9cce8522d -r 9a5a8a7cde7f sysutils/p5-File-NCopy/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/p5-File-NCopy/DESCR Fri Jun 24 20:11:12 2005 +0000
@@ -0,0 +1,14 @@
+File::NCopy::copy copies files to directories, or a single file to
+another file. You can also use a reference to a file handle if
+you wish whem doing a file to file copy. The functionality is very
+similar to cp. If the argument is a directory to directory copy
+and the recursive flag is set then it is done recursively like cp
+-R. In fact it behaves like cp on Unix for the most part. If
+called in array context, an array of successful copies is returned,
+otherwise the number of succesful copies is returned. If passed
+a file handle, it's difficult to make sure the file we are copying
+isn't the same that we are copying to, since by opening the file
+in write mode it gets pooched. To avoid this use file names instead,
+if at all possible, especially for the to file. If passed a file
+handle, it is not closed when copy returns, files opened by copy
+are closed.
diff -r 7ff9cce8522d -r 9a5a8a7cde7f sysutils/p5-File-NCopy/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/p5-File-NCopy/Makefile Fri Jun 24 20:11:12 2005 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/06/24 20:11:12 wiz Exp $
+
+DISTNAME= File-NCopy-0.34
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MZ/MZSANFORD/}
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/File-NCopy/
+COMMENT= Copy files and directories
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/File/NCopy/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7ff9cce8522d -r 9a5a8a7cde7f sysutils/p5-File-NCopy/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/p5-File-NCopy/PLIST Fri Jun 24 20:11:12 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/24 20:11:12 wiz Exp $
diff -r 7ff9cce8522d -r 9a5a8a7cde7f sysutils/p5-File-NCopy/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/p5-File-NCopy/distinfo Fri Jun 24 20:11:12 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/06/24 20:11:12 wiz Exp $
+
+SHA1 (File-NCopy-0.34.tar.gz) = 825d22db107370c5aa143a2dd4120ff7010dc950
+RMD160 (File-NCopy-0.34.tar.gz) = f63045b8230f645c1e6b4dea65107fff9ac6fa15
+Size (File-NCopy-0.34.tar.gz) = 7495 bytes
Home |
Main Index |
Thread Index |
Old Index