bcallah caf390b47d Import lang/wabt, the WebAssembly binary toolkit.
Joint work from rapha@ and Fabian Raetz, with Fabian taking MAINTAINER --
thanks!
ok rsadowski@

WABT (we pronounce it "wabbit") is a suite of tools for WebAssembly,
including:

wat2wasm:
   translate from WebAssembly text format to the WebAssembly binary format

wasm2wat:
   the inverse of wat2wasm, translate from the binary format back to the
   text format (also known as a .wat)

wasm-objdump:
   print information about a wasm binary. Similiar to objdump.

wasm-interp:
   decode and run a WebAssembly binary file using a stack-based interpreter

wat-desugar:
   parse .wat text form as supported by the spec interpreter
   (s-expressions, flat syntax, or mixed) and print "canonical" flat format

wasm2c:
   convert a WebAssembly binary file to a C source and header
2018-09-16 13:32:32 +00:00

29 lines
471 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/09/16 13:32:32 bcallah Exp $
COMMENT = WebAssembly binary toolkit
GH_ACCOUNT = WebAssembly
GH_PROJECT = wabt
GH_TAGNAME = 1.0.5
CATEGORIES = lang
MAINTAINER = Fabian Raetz <fabian.raetz@gmail.com>
# Apache 2.0
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = ${COMPILER_LIBCXX} c m
# C++11
COMPILER = base-clang ports-gcc
MODULES = devel/cmake
CONFIGURE_ARGS = -DBUILD_TESTS=OFF \
-DRUN_RE2C=OFF
NO_TEST = Yes
.include <bsd.port.mk>