freebsd-ports/devel/py-PyExecJS/Makefile
Tobias C. Berner df53a093a4 New port: devel/py-PyExecJS
PyExecJS is a porting of ExecJS from Ruby. PyExecJS automatically picks the
best runtime available to evaluate your JavaScript program.

https://pypi.python.org/pypi/PyExecJS

Approved by:    rakuco (mentor, implicit)
Differential Revision:  https://reviews.freebsd.org/D10813
2017-05-19 15:55:35 +00:00

28 lines
744 B
Makefile

# $FreeBSD$
PORTNAME= PyExecJS
PORTVERSION= 1.4.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tcberner@FreeBSD.org
COMMENT= Run JavaScript code from Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python zip
USE_PYTHON= distutils autoplist
OPTIONS_GROUP= RUNTIME
OPTIONS_GROUP_RUNTIME= NODE SPIDERMONKEY PHANTOMJS
NODE_DESC= Use www/node as JavaScript backend
NODE_RUN_DEPENDS= node>=0.8.0:www/node
SPIDERMONKEY_DESC= Use lang/spidermonkey24 as JavaScript backend
SPIDERMONKEY_RUN_DEPENDS= js:lang/spidermonkey24
PHANTOMJS_DESC= Use lang/phantomjs as JavaScript backend
PHANTOMJS_RUN_DEPENDS= phantomjs:lang/phantomjs
OPTIONS_DEFAULT= NODE
.include <bsd.port.mk>