ports/devel/rubygem-execjs/Makefile
Matthias Fechner f4ffcdfe61 */*: use new nodejs USES flag
Simply define which nodejs version is required using the nodejs USES flag.

PR:                     259783
Differential Revision:	https://reviews.freebsd.org/D32790
2021-11-12 06:54:51 +01:00

23 lines
454 B
Makefile

# Created by: Steve Wills <swills@FreeBSD.org>
PORTNAME= execjs
PORTVERSION= 2.8.1
PORTREVISION= 2
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= ExecJS lets you run JavaScript code from Ruby
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
USES= gem nodejs:run
USE_RUBY= yes
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/lib/execjs/runtimes.rb
.include <bsd.port.mk>