Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 14:17:10 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454435 - head/www/npm
Message-ID:  <201711181417.vAIEHAsw053943@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov 18 14:17:10 2017
New Revision: 454435
URL: https://svnweb.freebsd.org/changeset/ports/454435

Log:
  Update options for Node.js 8.x and 9.x
  
  - Bump PORTREVISION for dependency change

Modified:
  head/www/npm/Makefile

Modified: head/www/npm/Makefile
==============================================================================
--- head/www/npm/Makefile	Sat Nov 18 13:55:34 2017	(r454434)
+++ head/www/npm/Makefile	Sat Nov 18 14:17:10 2017	(r454435)
@@ -3,6 +3,7 @@
 
 PORTNAME=	npm
 PORTVERSION=	5.4.2
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	LOCAL/sunpoet
 
@@ -16,11 +17,12 @@ RUN_DEPENDS=	gmake:devel/gmake
 CONFLICTS_INSTALL=	npm2 npm3 npm4
 
 OPTIONS_SINGLE=	BACKEND
-OPTIONS_SINGLE_BACKEND=	NODE4 NODE6 NODE8
-OPTIONS_DEFAULT=NODE8
+OPTIONS_SINGLE_BACKEND=	NODE NODE4 NODE6 NODE8
+OPTIONS_DEFAULT=NODE
+NODE_DESC=	Use Node.js 9.x (www/node) as backend
 NODE4_DESC=	Use Node.js 4.x (www/node4) as backend
 NODE6_DESC=	Use Node.js 6.x (www/node6) as backend
-NODE8_DESC=	Use Node.js 8.x (www/node) as backend
+NODE8_DESC=	Use Node.js 8.x (www/node8) as backend
 
 NO_ARCH=	yes
 NO_BUILD=	yes
@@ -33,9 +35,10 @@ CPE_PRODUCT=	node_packaged_modules
 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
 NODE4_RUN_DEPENDS=	node4>=0.8.0:www/node4
 NODE6_RUN_DEPENDS=	node6>=0.8.0:www/node6
-NODE8_RUN_DEPENDS=	node>=0.8.0:www/node
+NODE8_RUN_DEPENDS=	node8>=0.8.0:www/node8
 
 .include <bsd.port.pre.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711181417.vAIEHAsw053943>