mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
33 lines
808 B
Makefile
33 lines
808 B
Makefile
# Created by: Steve Wills <swills@FreeBSD.org>
|
|
# $FreeBSD:ruby/Makefile 468796 2018-05-01 19:50:55Z sunpoet $
|
|
|
|
PORTNAME= execjs
|
|
PORTVERSION= 2.7.0
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= ExecJS lets you run JavaScript code from Ruby
|
|
|
|
|
|
NO_ARCH= yes
|
|
USE_RUBY= yes
|
|
USES= gem
|
|
|
|
OPTIONS_SINGLE= BACKEND
|
|
OPTIONS_SINGLE_BACKEND= NODE NODE6 NODE8
|
|
OPTIONS_DEFAULT=NODE
|
|
NODE_DESC= Use Node.js 9.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
|
|
|
|
#NODE_RUN_DEPENDS= node>=0:langs/node
|
|
#NODE6_RUN_DEPENDS= node6>=0:langs/node6
|
|
#NODE8_RUN_DEPENDS= node8>=0:langs/node8
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#' \
|
|
${WRKSRC}/lib/${PORTNAME}/runtimes.rb
|
|
|
|
.include <bsd.port.mk>
|