View | Details | Raw Unified | Return to bug 272195 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/wasmer/Makefile (+27 lines)
Added Link Here
1
PORTNAME=	wasmer
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	4.0.0
4
CATEGORIES=	devel
5
6
MAINTAINER=	kjozic@gmail.com
7
COMMENT=	WebAssembly Runtime supporting WASIX, WASI and Emscripten
8
WWW=		https://wasmer.io/
9
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
ONLY_FOR_ARCHS=	aarch64 amd64
14
ONLY_FOR_ARCHS_REASON=	only aarch64 and amd64 are supported so far
15
16
BUILD_DEPENDS=	rust>=1.67.0:lang/rust
17
18
USES=		gmake
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	wasmerio
21
22
ALL_TARGET=	build-wasmer
23
24
do-install:
25
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/wasmer ${STAGEDIR}${PREFIX}/bin/
26
27
.include <bsd.port.mk>
(-)b/devel/wasmer/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1687627001
2
SHA256 (wasmerio-wasmer-v4.0.0_GH0.tar.gz) = fcac7573c6c54e8bed8e2ec9dc3d3973ce1fa949c6c1956b3b6bf7e27bb186bb
3
SIZE (wasmerio-wasmer-v4.0.0_GH0.tar.gz) = 49629253
(-)b/devel/wasmer/files/patch-Makefile (+11 lines)
Added Link Here
1
--- Makefile.orig	2023-06-24 22:58:59 UTC
2
+++ Makefile
3
@@ -312,7 +312,7 @@ ifneq (, $(filter 1, $(IS_DARWIN) $(IS_LINUX) $(IS_FRE
4
 	reset := $(shell tput sgr0 2>/dev/null || echo -n '')
5
 endif
6
 
7
-HOST_TARGET=$(shell rustup show | grep 'Default host: ' | cut -d':' -f2 | tr -d ' ')
8
+HOST_TARGET=$(shell rustc -V -v | grep 'host: ' | cut -d':' -f2 | tr -d ' ')
9
 
10
 TARGET_DIR ?= target/release
11
 
(-)b/devel/wasmer/pkg-descr (+11 lines)
Added Link Here
1
Wasmer is a fast and secure WebAssembly runtime that enables super lightweight
2
containers to run anywhere: from Desktop to the Cloud, Edge and IoT devices.
3
4
Features:
5
-Secure by default. No file, network, or environment access, unless explicitly
6
 enabled.
7
-Supports WASIX, WASI and Emscripten out of the box.
8
-Fast. Run WebAssembly at near-native speeds.
9
-Embeddable in multiple programming languages
10
-Compliant with latest WebAssembly Proposals (SIMD, Reference Types, Threads,
11
 ...).
(-)b/devel/wasmer/pkg-plist (-1 / +1 lines)
Added Link Here
0
- 
1
bin/wasmer

Return to bug 272195