1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

cleanup: remove more optional Node 10/12 usages

This commit is contained in:
Rene Ladan 2021-06-26 14:15:31 +02:00
parent 25e4567470
commit 8eb508f23b
5 changed files with 10 additions and 30 deletions

View File

@ -17,16 +17,12 @@ USE_RUBY= yes
NO_ARCH= yes
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= NODE NODE10 NODE12 NODE14
OPTIONS_SINGLE_BACKEND= NODE NODE14
OPTIONS_DEFAULT=NODE
NODE_DESC= Use Node.js 15.x (www/node) as backend
NODE10_DESC= Use Node.js 10.x (www/node10) as backend
NODE12_DESC= Use Node.js 12.x (www/node12) as backend
NODE_DESC= Use Node.js 16.x (www/node) as backend
NODE14_DESC= Use Node.js 14.x (www/node14) as backend
NODE_RUN_DEPENDS= node>=0:www/node
NODE10_RUN_DEPENDS= node10>=0:www/node10
NODE12_RUN_DEPENDS= node12>=0:www/node12
NODE14_RUN_DEPENDS= node14>=0:www/node14
post-patch:

View File

@ -2,9 +2,9 @@
PKGNAMESUFFIX= -node14
CONFLICTS_INSTALL= npm npm-node10 npm-node12
CONFLICTS_INSTALL= npm
OPTIONS_EXCLUDE=NODE NODE10 NODE12
OPTIONS_EXCLUDE=NODE
OPTIONS_SLAVE= NODE14
MASTERDIR= ${.CURDIR}/../npm

View File

@ -19,13 +19,12 @@ NO_ARCH= yes
NO_BUILD= yes
REINPLACE_ARGS= -i ''
CONFLICTS_INSTALL?= npm-node10 npm-node14
CONFLICTS_INSTALL?= npm-node14
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= NODE NODE10 NODE14
OPTIONS_SINGLE_BACKEND= NODE NODE14
OPTIONS_DEFAULT=NODE
NODE_DESC= Use Node.js 15.x (www/node) as backend
NODE10_DESC= Use Node.js 10.x (www/node10) as backend
NODE_DESC= Use Node.js 16.x (www/node) as backend
NODE14_DESC= Use Node.js 14.x (www/node14) as backend
CPE_VENDOR= npmjs
@ -35,16 +34,10 @@ SHEBANG_GLOB= *.py
SHEBANG_FILES= lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples
NODE_RUN_DEPENDS= node>=0.8.0:www/node
NODE10_RUN_DEPENDS= node10>=0.8.0:www/node10
NODE14_RUN_DEPENDS= node14>=0.8.0:www/node14
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MNODE10}
DEPRECATED= Uses EOL Python 2.7 via www/node10
EXPIRATION_DATE=2021-06-23
.endif
.if ${ARCH} == i386
# Workaround for kernel bug 178881
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bug-178881

View File

@ -2,9 +2,9 @@
PKGNAMESUFFIX= -node14
CONFLICTS_INSTALL= yarn yarn-node10 yarn-node12
CONFLICTS_INSTALL= yarn
OPTIONS_EXCLUDE= NODE NODE10 NODE12
OPTIONS_EXCLUDE= NODE
OPTIONS_SLAVE= NODE14
MASTERDIR= ${.CURDIR}/../yarn

View File

@ -14,18 +14,16 @@ CONFLICTS_INSTALL?= yarn-node14 yarn-node10
OPTIONS_DEFINE= HADOOPCOMPAT
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= NODE10 NODE14 NODE
OPTIONS_SINGLE_BACKEND= NODE14 NODE
OPTIONS_DEFAULT= NODE
HADOOPCOMPAT_DESC= hadoop2 compatibility, the yarn script is excluded
NODE_DESC= Use www/node as backend
NODE14_DESC= Use www/node14 as backend
NODE10_DESC= Use www/node10 as backend
OPTIONS_SUB= yes
NODE_RUN_DEPENDS= node>=0.8.0:www/node
NODE14_RUN_DEPENDS= node14>=14.0.0:www/node14
NODE10_RUN_DEPENDS= node10>=10.0.0:www/node10
HADOOPCOMPAT_CONFLICTS_INSTALL_OFF= hadoop2*
@ -52,11 +50,4 @@ do-install-HADOOPCOMPAT-off:
${RLN} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn/bin/yarn \
${STAGEDIR}${PREFIX}/bin/yarn
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNODE10}
DEPRECATED= Uses EOL Python 2.7 via www/node10
EXPIRATION_DATE=2021-06-23
.endif
.include <bsd.port.mk>