New port: sysutils/p5-File-Rename

rename renames the filenames supplied according to the rule specified as the
first argument. The perlexpr argument is a Perl expression which is expected
to modify the $_ string in Perl for at least some of the filenames specified.
If a given filename is not modified by the expression, it will not be renamed.
If no filenames are given on the command line, filenames will be read via
standard input.

WWW: https://metacpan.org/release/File-Rename

PR:		240728
Submitted by:	Vidar Karlsen <vidar@karlsen.tech>
This commit is contained in:
Kurt Jaeger 2019-09-21 18:42:40 +00:00
parent 85b2a32a20
commit e6fb62b390
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512532
5 changed files with 37 additions and 0 deletions

View File

@ -776,6 +776,7 @@
SUBDIR += p5-File-Listing
SUBDIR += p5-File-Log
SUBDIR += p5-File-Next
SUBDIR += p5-File-Rename
SUBDIR += p5-File-Signature
SUBDIR += p5-File-Stat-Bits
SUBDIR += p5-File-Stat-ModeString

View File

@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= File-Rename
PORTVERSION= 1.10
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= vidar@karlsen.tech
COMMENT= Rename multiple files
LICENSE= ART10
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1569010631
SHA256 (File-Rename-1.10.tar.gz) = 054ebb366c36e55140f7765f5ea13e34e1a3520bb964ba231ac0926c8046f58c
SIZE (File-Rename-1.10.tar.gz) = 13674

View File

@ -0,0 +1,8 @@
rename renames the filenames supplied according to the rule specified as the
first argument. The perlexpr argument is a Perl expression which is expected
to modify the $_ string in Perl for at least some of the filenames specified.
If a given filename is not modified by the expression, it will not be renamed.
If no filenames are given on the command line, filenames will be read via
standard input.
WWW: https://metacpan.org/release/File-Rename

View File

@ -0,0 +1,6 @@
bin/rename
%%SITE_PERL%%/File/Rename.pm
%%SITE_PERL%%/File/Rename/Options.pm
%%PERL5_MAN1%%/rename.1.gz
%%PERL5_MAN3%%/File::Rename.3.gz
%%PERL5_MAN3%%/File::Rename::Options.3.gz