tdir is Yet Another Way To Display Directory Listings. Output is in
columnar format with sub-directories listed first, and then a listing
of the files ordered by their ending "extension" - typically the
characters following the rightmost '.' in the file name (though this
can be changed on the command line).
tdir supports recursive directory examination. Total output width as
well as column width can be set on the command line and tdir will
autoformat accordingly.
tdir is written in 'python' and requires a reasonably current version
of the 'python' environment to be present on the system.
sysutils/tdir: Update to 1.73
- Change license permissions
License reworked upstream, now `tdir` can be built and distributed in the
FreeBSD package cluster.
Changing the shebang line does not violate the license. The author gave
explicit approval about this in PR 228180.
Following the license change, this port can be released again.
- It nows supports Python2 and Python3.
PR: 228180
Submitted by: Tim Daneliuk <tdir@tundraware.com> (maintainer)
Fix bunch of ports by TundraWare, which share a common set of problems
- Add LICENSE
It explicitly requires user agreement (thus no-auto-accept) and
forbids distribution for a fee `beyond reasonable duplication
charges` which is too vague I don't think can be guaranteed in
any case (thus no-*-sell)
tdir port uses another variant of license, which also forbids
modification, and since the port requires shebangfix and Makefile
patching, also mark it no-pkg-mirror and BROKEN.
- Don't install licenses with documentation, since our license
framework already handles this
- Fix python shebangs
- Limit python version to 2.7, as no port is compatible with python3
- Add NO_ARCH
- User options targets helpers
- Simplify installation in a few cases
Approved by: portmgr blanket
Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string
Approved by: portmgr (bapt)
Differential Revision: D3756
- update to 1.71
while here:
- support staging
- move pkg-plist entries to PLIST_FILES
PR: 186703
Submitted by: Tim Daneliuk <tdir@tundraware.com> (maintainer)
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.