summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-24 20:11:12 +0000
committerwiz <wiz@pkgsrc.org>2005-06-24 20:11:12 +0000
commitb6169c69fc32005312435d11ac2c3aa89dd0674e (patch)
tree3bfb84aebe78de0586b7f07facc02cd47c896afc /sysutils
parentcd8805d238641a753a97158ba4c8832a6f52b778 (diff)
downloadpkgsrc-b6169c69fc32005312435d11ac2c3aa89dd0674e.tar.gz
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 (limited to 'sysutils')
-rw-r--r--sysutils/p5-File-NCopy/DESCR14
-rw-r--r--sysutils/p5-File-NCopy/Makefile17
-rw-r--r--sysutils/p5-File-NCopy/PLIST1
-rw-r--r--sysutils/p5-File-NCopy/distinfo5
4 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/p5-File-NCopy/DESCR b/sysutils/p5-File-NCopy/DESCR
new file mode 100644
index 00000000000..8ff53a9ae69
--- /dev/null
+++ b/sysutils/p5-File-NCopy/DESCR
@@ -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 --git a/sysutils/p5-File-NCopy/Makefile b/sysutils/p5-File-NCopy/Makefile
new file mode 100644
index 00000000000..884822a8555
--- /dev/null
+++ b/sysutils/p5-File-NCopy/Makefile
@@ -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
+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 --git a/sysutils/p5-File-NCopy/PLIST b/sysutils/p5-File-NCopy/PLIST
new file mode 100644
index 00000000000..20dce43e9ed
--- /dev/null
+++ b/sysutils/p5-File-NCopy/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/24 20:11:12 wiz Exp $
diff --git a/sysutils/p5-File-NCopy/distinfo b/sysutils/p5-File-NCopy/distinfo
new file mode 100644
index 00000000000..37f5080f7ba
--- /dev/null
+++ b/sysutils/p5-File-NCopy/distinfo
@@ -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