/devel/tkp4/

portmgr blanket Improve shebangfix framework 2015-10-19T14:50:52+00:00 amdmi3 amdmi3@FreeBSD.org 2015-10-19T14:50:52+00:00 6a98fceb0a6004a4c5a1fd86d54347f6a29f74c4 - 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
- 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
Cleanup plist 2014-10-20T10:41:12+00:00 bapt bapt@FreeBSD.org 2014-10-20T10:41:12+00:00 58be75add82beff7001c1e1030b845581235c798

- Convert ports from databases/ and deskutils/ to new USES=python 2014-10-19T08:50:17+00:00 mva mva@FreeBSD.org 2014-10-19T08:50:17+00:00 d4e0b55e3d2de55489b8645dd7d5c9ea53ca2058 Approved by: portmgr (implicit)
Approved by:	portmgr (implicit)
Fix a few nits with databases/pgtune that cause runtime 2014-05-08T17:06:35+00:00 gjb gjb@FreeBSD.org 2014-05-08T17:06:35+00:00 c1c2fbaceac3b78f7dd626327f0e7eb2b390c090 problems: - Add USES=shebangfix - Replace USE_PYTHON=yes with USE_PYTHON=2+ - Fix shebang line to use python2.N - Bump PORTREVISION Reported by: pathiaki2@yahoo.com (via ports@) Redports ID: https://redports.org/buildarchive/20140508164000-29103/ Sponsored by: The FreeBSD Foundation
problems:

 - Add USES=shebangfix
 - Replace USE_PYTHON=yes with USE_PYTHON=2+
 - Fix shebang line to use python2.N
 - Bump PORTREVISION

Reported by:	pathiaki2@yahoo.com (via ports@)
Redports ID:	https://redports.org/buildarchive/20140508164000-29103/
Sponsored by:	The FreeBSD Foundation
Support staging 2014-02-27T13:50:17+00:00 ehaupt ehaupt@FreeBSD.org 2014-02-27T13:50:17+00:00 cd18941571a02d5393699c27c06fde36584ce40f