svn commit: r485270 - head/devel/rubygem-execjs
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Nov 18 20:38:04 UTC 2018
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>
More information about the svn-ports-all
mailing list