aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpizzamig <pizzamig@FreeBSD.org>2017-11-10 00:55:35 +0800
committerpizzamig <pizzamig@FreeBSD.org>2017-11-10 00:55:35 +0800
commit5781107f8ddd8bd069435750d9ed7604ff84f777 (patch)
tree8acaf542354a866f7c0d2bda5af3bd70c9cf5ff9 /www
parent55fdedcde17ab1a4aa7a84b0b5f7f276b3ffaecc (diff)
downloadfreebsd-ports-gnome-5781107f8ddd8bd069435750d9ed7604ff84f777.tar.gz
freebsd-ports-gnome-5781107f8ddd8bd069435750d9ed7604ff84f777.tar.zst
freebsd-ports-gnome-5781107f8ddd8bd069435750d9ed7604ff84f777.zip
www/yarn: Add support to www/node8
Moreover, adopt www/node8 as default option. PR: 223536 Submitted by: daniel@blodan.se Approved by: olivier (mentor) Sponsored by: trivago N.V. Differential Revision: https://reviews.freebsd.org/D13006
Diffstat (limited to 'www')
-rw-r--r--www/yarn/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/yarn/Makefile b/www/yarn/Makefile
index 63fee9a10322..828b28700b4e 100644
--- a/www/yarn/Makefile
+++ b/www/yarn/Makefile
@@ -3,6 +3,7 @@
PORTNAME= yarn
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://yarnpkg.com/downloads/${PORTVERSION}/
@@ -14,16 +15,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= HADOOPCOMPAT
OPTIONS_SINGLE= BACKEND
-OPTIONS_SINGLE_BACKEND= NODE4 NODE6 NODE
-OPTIONS_DEFAULT= NODE
+OPTIONS_SINGLE_BACKEND= NODE4 NODE6 NODE8 NODE
+OPTIONS_DEFAULT= NODE8
HADOOPCOMPAT_DESC= hadoop2 compatibility, the yarn script is excluded
NODE_DESC= Use www/node as backend
+NODE8_DESC= Use www/node8 as backend
NODE6_DESC= Use www/node6 as backend
NODE4_DESC= Use www/node4 as backend
OPTIONS_SUB= yes
NODE_RUN_DEPENDS= node>=0.8.0:www/node
+NODE8_RUN_DEPENDS= node8>=0.8.0:www/node8
NODE6_RUN_DEPENDS= node6>=0.8.0:www/node6
NODE4_RUN_DEPENDS= node4>=0.8.0:www/node4