Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2020 17:34:19 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542374 - in head/sysutils: . p5-File-BackupCopy p5-File-Cmp
Message-ID:  <202007161734.06GHYJSF074653@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jul 16 17:34:19 2020
New Revision: 542374
URL: https://svnweb.freebsd.org/changeset/ports/542374

Log:
  Add two Perl modules, p5-File-BackupCopy and p5-File-Cmp which is
  a TEST_DEPENDS for the former.

Added:
  head/sysutils/p5-File-BackupCopy/
  head/sysutils/p5-File-BackupCopy/Makefile   (contents, props changed)
  head/sysutils/p5-File-BackupCopy/distinfo   (contents, props changed)
  head/sysutils/p5-File-BackupCopy/pkg-descr   (contents, props changed)
  head/sysutils/p5-File-BackupCopy/pkg-plist   (contents, props changed)
  head/sysutils/p5-File-Cmp/
  head/sysutils/p5-File-Cmp/Makefile   (contents, props changed)
  head/sysutils/p5-File-Cmp/distinfo   (contents, props changed)
  head/sysutils/p5-File-Cmp/pkg-descr   (contents, props changed)
  head/sysutils/p5-File-Cmp/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Thu Jul 16 17:14:53 2020	(r542373)
+++ head/sysutils/Makefile	Thu Jul 16 17:34:19 2020	(r542374)
@@ -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

Added: head/sysutils/p5-File-BackupCopy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-BackupCopy/Makefile	Thu Jul 16 17:34:19 2020	(r542374)
@@ -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>

Added: head/sysutils/p5-File-BackupCopy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-BackupCopy/distinfo	Thu Jul 16 17:34:19 2020	(r542374)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1580102967
+SHA256 (File-BackupCopy-1.01.tar.gz) = b3f03c5574f68d2fd306b039e1f3b666eb30599b1745758bef2fe015ee72555c
+SIZE (File-BackupCopy-1.01.tar.gz) = 19724

Added: head/sysutils/p5-File-BackupCopy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-BackupCopy/pkg-descr	Thu Jul 16 17:34:19 2020	(r542374)
@@ -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

Added: head/sysutils/p5-File-BackupCopy/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-BackupCopy/pkg-plist	Thu Jul 16 17:34:19 2020	(r542374)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/File/BackupCopy.pm
+%%PERL5_MAN3%%/File::BackupCopy.3.gz

Added: head/sysutils/p5-File-Cmp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-Cmp/Makefile	Thu Jul 16 17:34:19 2020	(r542374)
@@ -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>

Added: head/sysutils/p5-File-Cmp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-Cmp/distinfo	Thu Jul 16 17:34:19 2020	(r542374)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1422990858
+SHA256 (File-Cmp-1.07.tar.gz) = 99c6ea6be02fcb95fcfa0b25c3286554d48fa5fd5f4ad58a80d6d6bc7f9bc240
+SIZE (File-Cmp-1.07.tar.gz) = 7836

Added: head/sysutils/p5-File-Cmp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-Cmp/pkg-descr	Thu Jul 16 17:34:19 2020	(r542374)
@@ -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

Added: head/sysutils/p5-File-Cmp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-File-Cmp/pkg-plist	Thu Jul 16 17:34:19 2020	(r542374)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/File/Cmp.pm
+%%PERL5_MAN3%%/File::Cmp.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007161734.06GHYJSF074653>