- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.
CR: D306
Approved by: portmgr (bapt)
- Add -D/--debug and adjust the verbosity level.
- Show before and after file sizes when -v is specified.
- Introduce a configuration file in which command aliases can be
defined.
- Add -i/--preserve-inode so inode numbers are preserved even when -b
or -s is specified.
The inplace(1) command is a utility to edit files in-place through
given filter commands preserving the original file attributes. Mode
and ownership (user and group) are preserved by default, and time
(access and modification) by choice.
Examples:
# Sort files in-place using sort(1):
inplace sort file1 file2 file3
# Process image files preserving time and taking backup files:
inplace -t -b.orig 'convert -rotate 270 -resize 50%% %1 %2' *.jpg