Skip to content

Commit 6daf961

Browse files
committed
feat: macports cartesi-machine-emulator Portfile
tested machine-emulator commit cd55ffc1f56ab74ea1e01765467fd1228835ae75
1 parent 58b6d86 commit 6daf961

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
work
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2+
3+
PortSystem 1.0
4+
5+
PortGroup github 1.0
6+
7+
github.setup cartesi machine-emulator 0.18.0-test1 v
8+
9+
github.tarball_from archive
10+
11+
name cartesi-machine-emulator
12+
13+
categories emulators
14+
15+
license LGPL-3+
16+
17+
platforms darwin
18+
19+
maintainers @cartesi/emulator
20+
21+
description The Cartesi Machine Emulator
22+
23+
long_description \
24+
The Cartesi Machine Emulator is a feature-rich RISC-V emulator \
25+
designed to support reproducible computations and fraud-proofs.
26+
27+
28+
patchfiles add-generated-files.diff
29+
30+
patch_sites https://github.com/${github.author}/${github.project}/releases/download/v${github.version}/
31+
32+
checksums ${distname}.tar.gz \
33+
rmd160 4b248c342a95c727559fe13ca2b1b06bdfe90e11 \
34+
sha256 4867428832c762663c75cfb7c97a61507003db63e81467eafd951fad645d75c4 \
35+
size 1026819 \
36+
add-generated-files.diff \
37+
rmd160 0383f80c72936ee6b7cc362d2150232151f4cb8e \
38+
sha256 5ddb29d3a0259f9295dc303110d5b24a880e3db19fe77b2a0a1a0a89d3cf8b71 \
39+
size 518303
40+
41+
depends_build-append port:pkgconfig
42+
43+
depends_lib-append port:boost181 \
44+
port:lua54 \
45+
port:libslirp
46+
47+
use_configure no
48+
49+
compiler.whitelist macports-clang-16
50+
51+
build.args-append CC=${configure.cc} \
52+
CXX=${configure.cxx} \
53+
CPP=${configure.cpp}
54+
55+
destroot.args-append PREFIX=${prefix}
56+
57+
build.args-append PREFIX=${prefix}

0 commit comments

Comments
 (0)