Add two Perl modules, p5-File-BackupCopy and p5-File-Cmp which is
a TEST_DEPENDS for the former.
This commit is contained in:
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
|
@ -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
|
||||
|
|
19
sysutils/p5-File-BackupCopy/Makefile
Normal file
19
sysutils/p5-File-BackupCopy/Makefile
Normal 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>
|
3
sysutils/p5-File-BackupCopy/distinfo
Normal file
3
sysutils/p5-File-BackupCopy/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1580102967
|
||||
SHA256 (File-BackupCopy-1.01.tar.gz) = b3f03c5574f68d2fd306b039e1f3b666eb30599b1745758bef2fe015ee72555c
|
||||
SIZE (File-BackupCopy-1.01.tar.gz) = 19724
|
12
sysutils/p5-File-BackupCopy/pkg-descr
Normal file
12
sysutils/p5-File-BackupCopy/pkg-descr
Normal 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
|
2
sysutils/p5-File-BackupCopy/pkg-plist
Normal file
2
sysutils/p5-File-BackupCopy/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
%%SITE_PERL%%/File/BackupCopy.pm
|
||||
%%PERL5_MAN3%%/File::BackupCopy.3.gz
|
17
sysutils/p5-File-Cmp/Makefile
Normal file
17
sysutils/p5-File-Cmp/Makefile
Normal 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>
|
3
sysutils/p5-File-Cmp/distinfo
Normal file
3
sysutils/p5-File-Cmp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1422990858
|
||||
SHA256 (File-Cmp-1.07.tar.gz) = 99c6ea6be02fcb95fcfa0b25c3286554d48fa5fd5f4ad58a80d6d6bc7f9bc240
|
||||
SIZE (File-Cmp-1.07.tar.gz) = 7836
|
4
sysutils/p5-File-Cmp/pkg-descr
Normal file
4
sysutils/p5-File-Cmp/pkg-descr
Normal 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
|
2
sysutils/p5-File-Cmp/pkg-plist
Normal file
2
sysutils/p5-File-Cmp/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
%%SITE_PERL%%/File/Cmp.pm
|
||||
%%PERL5_MAN3%%/File::Cmp.3.gz
|
Loading…
Reference in a new issue