6b71ba2be2
- Add TEST option (build/install unittest program) - Use c++17 standard requirement ChangeLog: https://github.com/WebAssembly/binaryen/blob/main/CHANGELOG.md
25 lines
585 B
Makefile
25 lines
585 B
Makefile
PORTNAME= binaryen
|
|
DISTVERSIONPREFIX= version_
|
|
DISTVERSION= 112
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= eduardo@FreeBSD.org
|
|
COMMENT= Compiler infrastructure and toolchain library for WebAssembly
|
|
WWW= https://github.com/WebAssembly/binaryen
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++17-lang cpe python:build
|
|
CPE_VENDOR= webassembly
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= WebAssembly
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= TEST
|
|
OPTIONS_SUB= yes
|
|
|
|
TEST_CMAKE_BOOL= BUILD_TESTS
|
|
TEST_GH_TUPLE= google:googletest:e2239ee:googletest/third_party/googletest
|
|
|
|
.include <bsd.port.mk>
|