mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 00:00:33 -04:00
Simply define which nodejs version is required using the nodejs USES flag. PR: 259783 Differential Revision: https://reviews.freebsd.org/D32790
23 lines
454 B
Makefile
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>
|