mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
268cee3b02
Changes: https://github.com/unicode-org/icu/releases/tag/release-71-1 Reported by: GitHub (watch releases) PR: 262654 Exp-run by: antoine Approved by: fluffy
36 lines
949 B
Makefile
36 lines
949 B
Makefile
PORTNAME= hermes
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.11.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang
|
|
PKGNAMESUFFIX= -javascript-engine
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= JavaScript engine
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libicui18n.so:devel/icu
|
|
TEST_DEPENDS= googletest>0:devel/googletest \
|
|
zip:archivers/zip
|
|
|
|
USES= cmake compiler:c++14-lang cpe python:build readline
|
|
USE_LDCONFIG= yes
|
|
CPE_VENDOR= facebook
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= facebook
|
|
|
|
CMAKE_OFF= HERMES_ENABLE_TEST_SUITE
|
|
|
|
BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD}
|
|
|
|
do-test: # some tests are known to fail: https://github.com/facebook/hermes/issues/347
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DHERMES_ENABLE_TEST_SUITE:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check-hermes
|
|
|
|
.include <bsd.port.mk>
|