Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2018 20:38:03 +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: r485270 - head/devel/rubygem-execjs
Message-ID:  <201811182038.wAIKc3QY014847@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Nov 18 20:38:03 2018
New Revision: 485270
URL: https://svnweb.freebsd.org/changeset/ports/485270

Log:
  Add NODE10 option

Modified:
  head/devel/rubygem-execjs/Makefile

Modified: head/devel/rubygem-execjs/Makefile
==============================================================================
--- head/devel/rubygem-execjs/Makefile	Sun Nov 18 20:37:54 2018	(r485269)
+++ head/devel/rubygem-execjs/Makefile	Sun Nov 18 20:38:03 2018	(r485270)
@@ -12,23 +12,25 @@ COMMENT=	ExecJS lets you run JavaScript code from Ruby
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
 
-NO_ARCH=	yes
-USE_RUBY=	yes
 USES=		gem
+USE_RUBY=	yes
 
+NO_ARCH=	yes
+
 OPTIONS_SINGLE=	BACKEND
-OPTIONS_SINGLE_BACKEND=	NODE NODE6 NODE8
+OPTIONS_SINGLE_BACKEND=	NODE NODE6 NODE8 NODE10
 OPTIONS_DEFAULT=NODE
-NODE_DESC=	Use Node.js 9.x (www/node) as backend
+NODE_DESC=	Use Node.js 11.x (www/node) as backend
 NODE6_DESC=	Use Node.js 6.x (www/node6) as backend
 NODE8_DESC=	Use Node.js 8.x (www/node8) as backend
+NODE10_DESC=	Use Node.js 10.x (www/node10) as backend
 
 NODE_RUN_DEPENDS=	node>=0:www/node
 NODE6_RUN_DEPENDS=	node6>=0:www/node6
 NODE8_RUN_DEPENDS=	node8>=0:www/node8
+NODE10_RUN_DEPENDS=	node10>=0:www/node10
 
 post-patch:
-	@${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#' \
-		${WRKSRC}/lib/${PORTNAME}/runtimes.rb
+	@${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#' ${WRKSRC}/lib/execjs/runtimes.rb
 
 .include <bsd.port.mk>



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