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.
sysutils/p5-File-Rename: Update to 2.01
Changes upstream:
- min perl version 5.8.0
- use warnings
- use Getopt::Long 2.24
- move rename source file to source/ - to avoid rename being found when
@INC includes '.'
- Revert regex for $INC values
- Initialize C<our $print> for v5.10
Changes to the port:
- Added DOS2UNIX to clean up bin/rename
ChangeLog: https://metacpan.org/dist/File-Rename/changes
PR: 269094
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
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>