Add two Perl modules, p5-File-BackupCopy and p5-File-Cmp which is

a TEST_DEPENDS for the former.
This commit is contained in:
Alexey Dokuchaev 2020-07-16 17:34:19 +00:00
parent f95000d408
commit 00fc5c288c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542374
9 changed files with 64 additions and 0 deletions

View File

@ -772,6 +772,8 @@
SUBDIR += p5-BackupPC-XS
SUBDIR += p5-Brackup
SUBDIR += p5-Dir-Purge
SUBDIR += p5-File-BackupCopy
SUBDIR += p5-File-Cmp
SUBDIR += p5-File-DirCompare
SUBDIR += p5-File-Listing
SUBDIR += p5-File-Log

View File

@ -0,0 +1,19 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= File-BackupCopy
PORTVERSION= 1.01
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Create a backup copy of the file with Perl
TEST_DEPENDS= p5-File-Cmp>=1.07:sysutils/p5-File-Cmp
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1580102967
SHA256 (File-BackupCopy-1.01.tar.gz) = b3f03c5574f68d2fd306b039e1f3b666eb30599b1745758bef2fe015ee72555c
SIZE (File-BackupCopy-1.01.tar.gz) = 19724

View File

@ -0,0 +1,12 @@
The File::BackupCopy module provides functions for creating backup copies of
files. Two backup schemes are supported: simple and numbered backups. In
simple (or single) backup scheme, only one backup copy is maintained for the
given file. Its name is created by appending a single tilde character to the
original file name. In numbered backup scheme, arbitrary number of backup
copies can be created. The name of each backup copy is created by suffixing
the original file name with '.~N~', where N is a decimal number starting with
1. Additionally, the automatic backup name scheme is implemented. In this
naming scheme, numbered backups are created if at least one numbered backup
copy already exists and simple backups are created otherwise.
WWW: https://metacpan.org/release/File-BackupCopy

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/File/BackupCopy.pm
%%PERL5_MAN3%%/File::BackupCopy.3.gz

View File

@ -0,0 +1,17 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= File-Cmp
PORTVERSION= 1.07
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module to compare two files character by character
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1422990858
SHA256 (File-Cmp-1.07.tar.gz) = 99c6ea6be02fcb95fcfa0b25c3286554d48fa5fd5f4ad58a80d6d6bc7f9bc240
SIZE (File-Cmp-1.07.tar.gz) = 7836

View File

@ -0,0 +1,4 @@
This module provides Perl function that checks whether the contents
of two files are identical, in the spirit of the Unix cmp(1) utility.
WWW: https://metacpan.org/release/File-Cmp

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/File/Cmp.pm
%%PERL5_MAN3%%/File::Cmp.3.gz