BSD Ports

devel/p5-File-NCopy 0.36_2 FreeBSD

Copy file(s) to directories/file

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
12.8 KiB, 29.0 KiB installed

Description

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 when 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 successful 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.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-File-NCopy0.36_2
OpenBSDdevel/p5-File-NCopy0.36p0
DragonFlydevel/p5-File-NCopy0.36_2
HardenedBSDdevel/p5-File-NCopy0.36_2
GhostBSDdevel/p5-File-NCopy0.36_2

Install

Binary package:

pkg install p5-File-NCopy

From the ports tree:

cd /usr/ports/devel/p5-File-NCopy/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-File-NCopy>0:devel/p5-File-NCopy

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.36_20.36_20.36_20.36_20.36_2
FreeBSD:14:quarterly0.36_20.36_2n/a0.36_20.36_2
FreeBSD:15:latest0.36_20.36_2n/a0.36_20.36_2
FreeBSD:15:quarterly0.36_20.36_2n/an/an/a
FreeBSD:16:latest0.36_20.36_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/File::NCopy.3.gz
  • %%SITE_PERL%%/File/NCopy.pm
distinfo 1
FileSizeSHA256
File-NCopy-0.36.tar.gz8477f983a7a85bbfc1fb5ad852c16c5aa5ccf2af3623e864c4a9090a986f94b38f65
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.