aboutsummaryrefslogtreecommitdiff
path: root/sysutils/p5-File-BackupCopy
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-16 17:34:19 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-07-16 17:34:19 +0000
commit00fc5c288ce00d7d81fee385e642e86c0245f095 (patch)
treefcbe9d398a70296bed6eb3a7861aaa36944acfb6 /sysutils/p5-File-BackupCopy
parentf95000d40874095fe8aa4446be4cd1406023fa15 (diff)
downloadports-00fc5c288ce00d7d81fee385e642e86c0245f095.tar.gz
ports-00fc5c288ce00d7d81fee385e642e86c0245f095.zip
Add two Perl modules, p5-File-BackupCopy and p5-File-Cmp which is
a TEST_DEPENDS for the former.
Notes
Notes: svn path=/head/; revision=542374
Diffstat (limited to 'sysutils/p5-File-BackupCopy')
-rw-r--r--sysutils/p5-File-BackupCopy/Makefile19
-rw-r--r--sysutils/p5-File-BackupCopy/distinfo3
-rw-r--r--sysutils/p5-File-BackupCopy/pkg-descr12
-rw-r--r--sysutils/p5-File-BackupCopy/pkg-plist2
4 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/p5-File-BackupCopy/Makefile b/sysutils/p5-File-BackupCopy/Makefile
new file mode 100644
index 000000000000..ce77a1244708
--- /dev/null
+++ b/sysutils/p5-File-BackupCopy/Makefile
@@ -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>
diff --git a/sysutils/p5-File-BackupCopy/distinfo b/sysutils/p5-File-BackupCopy/distinfo
new file mode 100644
index 000000000000..ace1ae73dcdb
--- /dev/null
+++ b/sysutils/p5-File-BackupCopy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1580102967
+SHA256 (File-BackupCopy-1.01.tar.gz) = b3f03c5574f68d2fd306b039e1f3b666eb30599b1745758bef2fe015ee72555c
+SIZE (File-BackupCopy-1.01.tar.gz) = 19724
diff --git a/sysutils/p5-File-BackupCopy/pkg-descr b/sysutils/p5-File-BackupCopy/pkg-descr
new file mode 100644
index 000000000000..a5ae811e8be5
--- /dev/null
+++ b/sysutils/p5-File-BackupCopy/pkg-descr
@@ -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
diff --git a/sysutils/p5-File-BackupCopy/pkg-plist b/sysutils/p5-File-BackupCopy/pkg-plist
new file mode 100644
index 000000000000..2a3453a64212
--- /dev/null
+++ b/sysutils/p5-File-BackupCopy/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/File/BackupCopy.pm
+%%PERL5_MAN3%%/File::BackupCopy.3.gz