PORTNAME= wasmer DISTVERSIONPREFIX= v DISTVERSION= 4.2.5 CATEGORIES= devel MAINTAINER= kjozic@gmail.com COMMENT= WebAssembly Runtime supporting WASIX, WASI and Emscripten WWW= https://wasmer.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= only aarch64 and amd64 are supported so far BUILD_DEPENDS= bash>0:shells/bash \ libffi>0:devel/libffi \ zstd>0:archivers/zstd USES= cargo gmake llvm pkgconfig USE_GITHUB= yes GH_ACCOUNT= wasmerio CARGO_BUILD= no CARGO_INSTALL= no MAKE_ENV+= ENABLE_CRANELIFT=1 \ ENABLE_LLVM=1 \ ENABLE_SINGLEPASS=1 ALL_TARGET= build-wasmer PLIST_FILES= bin/wasmer pre-configure: ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/wasmer ${STAGEDIR}${PREFIX}/bin/ .include