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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-File-NCopy | 0.36_2 |
| OpenBSD | devel/p5-File-NCopy | 0.36p0 |
| DragonFly | devel/p5-File-NCopy | 0.36_2 |
| HardenedBSD | devel/p5-File-NCopy | 0.36_2 |
| GhostBSD | devel/p5-File-NCopy | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.36_2 | 0.36_2 | 0.36_2 | 0.36_2 | 0.36_2 |
| FreeBSD:14:quarterly | 0.36_2 | 0.36_2 | n/a | 0.36_2 | 0.36_2 |
| FreeBSD:15:latest | 0.36_2 | 0.36_2 | n/a | 0.36_2 | 0.36_2 |
| FreeBSD:15:quarterly | 0.36_2 | 0.36_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.36_2 | 0.36_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| File-NCopy-0.36.tar.gz | 8477 | f983a7a85bbfc1fb5ad852c16c5aa5ccf2af3623e864c4a9090a986f94b38f65 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.