1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/Mk
Po-Chuan Hsieh fa93fdc383
Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn}
The current USES=nodejs has the following issues:
- www/node is not the default version while www/node16 is.
- It also means inconsistent naming of node ports.
- www/npm duplicates with www/npm-node16.
- www/yarn duplicates with www/yarn-node16.

The notable changes are introduced to fix the above issues:
- Rewrite Mk/Uses/nodejs.mk.
- Add new LTS version of nodejs (www/noe18).
- Add new current version of nodejs (www/node19).
- Change default nodejs version from 16 to 18 (latest LTS).
- Use consistent naming for all supported node versions.
- Convert www/node, www/npm and www/yarn to meta ports.

After this commit:
- All supported node versions are named as node{14,16,18,19}
- www/node is a meta port which depends on the default version (e.g. www/node18)
- www/npm is a meta port which depends on the default version (e.g. www/npm-node18)
- www/yarn is a meta port which depends on the default version (e.g. www/yarn-node18)
- Bump PORTREVISION of dependent ports for dependency change (from www/node16 to www/node18)

Discussed with:	jrm, otis, pizzamig
2023-01-30 22:20:38 +08:00
..
Features Features/pie: allow static-pie: 2023-01-19 11:51:05 +01:00
Scripts
Uses Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn} 2023-01-30 22:20:38 +08:00
Wrappers
bsd.ccache.mk
bsd.commands.mk
bsd.default-versions.mk Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn} 2023-01-30 22:20:38 +08:00
bsd.destdir.mk
bsd.gcc.mk Mk/bsd.gcc.mk: Remove support for USE_GCC=X+ 2023-01-09 00:34:15 +00:00
bsd.gecko.mk
bsd.java.mk
bsd.ldap.mk
bsd.licenses.db.mk
bsd.licenses.mk
bsd.local.mk
bsd.ocaml.mk
bsd.options.desc.mk
bsd.options.mk
bsd.port.mk Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby 2023-01-14 17:08:33 -06:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk component: Mk framework 2023-01-11 23:41:24 +01:00
bsd.sanity.mk Mk/Uses/apache.mk: Refactor after removal of older versions 2023-01-25 11:54:07 -06:00
bsd.sites.mk
bsd.wx.mk