summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/npm-node10/Makefile4
-rw-r--r--www/npm-node12/Makefile4
-rw-r--r--www/npm-node14/Makefile13
-rw-r--r--www/npm/Makefile8
5 files changed, 23 insertions, 7 deletions
diff --git a/www/Makefile b/www/Makefile
index 0fafad48d271..df99b65a1805 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -464,6 +464,7 @@
SUBDIR += npm
SUBDIR += npm-node10
SUBDIR += npm-node12
+ SUBDIR += npm-node14
SUBDIR += nspluginwrapper
SUBDIR += obhttpd
SUBDIR += oneshot
diff --git a/www/npm-node10/Makefile b/www/npm-node10/Makefile
index 24d35884dc87..babd19860b24 100644
--- a/www/npm-node10/Makefile
+++ b/www/npm-node10/Makefile
@@ -3,9 +3,9 @@
PKGNAMESUFFIX= -node10
-CONFLICTS_INSTALL= npm npm-node12
+CONFLICTS_INSTALL= npm npm-node12 npm-node14
-OPTIONS_EXCLUDE=NODE NODE12
+OPTIONS_EXCLUDE=NODE NODE12 NODE14
OPTIONS_SLAVE= NODE10
MASTERDIR= ${.CURDIR}/../npm
diff --git a/www/npm-node12/Makefile b/www/npm-node12/Makefile
index a288a249c5d8..d3c37abea40a 100644
--- a/www/npm-node12/Makefile
+++ b/www/npm-node12/Makefile
@@ -3,9 +3,9 @@
PKGNAMESUFFIX= -node12
-CONFLICTS_INSTALL= npm npm-node10
+CONFLICTS_INSTALL= npm npm-node10 npm-node14
-OPTIONS_EXCLUDE=NODE NODE10
+OPTIONS_EXCLUDE=NODE NODE10 NODE14
OPTIONS_SLAVE= NODE12
MASTERDIR= ${.CURDIR}/../npm
diff --git a/www/npm-node14/Makefile b/www/npm-node14/Makefile
new file mode 100644
index 000000000000..570f771f668c
--- /dev/null
+++ b/www/npm-node14/Makefile
@@ -0,0 +1,13 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PKGNAMESUFFIX= -node14
+
+CONFLICTS_INSTALL= npm npm-node10 npm-node12
+
+OPTIONS_EXCLUDE=NODE NODE10 NODE12
+OPTIONS_SLAVE= NODE14
+
+MASTERDIR= ${.CURDIR}/../npm
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/npm/Makefile b/www/npm/Makefile
index 6b463baf1a06..616a2e431d51 100644
--- a/www/npm/Makefile
+++ b/www/npm/Makefile
@@ -20,14 +20,15 @@ NO_ARCH= yes
NO_BUILD= yes
REINPLACE_ARGS= -i ''
-CONFLICTS_INSTALL?= npm-node10 npm-node12
+CONFLICTS_INSTALL?= npm-node10 npm-node12 npm-node14
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= NODE NODE10 NODE12
+OPTIONS_SINGLE_BACKEND= NODE NODE10 NODE12 NODE14
OPTIONS_DEFAULT=NODE
-NODE_DESC= Use Node.js 13.x (www/node) as backend
+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
+NODE14_DESC= Use Node.js 14.x (www/node14) as backend
CPE_VENDOR= npmjs
CPE_PRODUCT= node_packaged_modules
@@ -38,6 +39,7 @@ 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
NODE12_RUN_DEPENDS= node12>=0.8.0:www/node12
+NODE14_RUN_DEPENDS= node14>=0.8.0:www/node14
.include <bsd.port.pre.mk>