# -*- 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

PortSystem                  1.0
PortGroup                   github 1.0
PortGroup                   cmake  1.1

github.setup                WebAssembly binaryen 119 version_
github.tarball_from         archive
revision                    0

categories                  lang devel
license                     Apache-2
maintainers                 {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description                 compiler and toolchain infrastructure library for WebAssembly
long_description            Binaryen is a compiler and toolchain infrastructure library for WebAssembly.
platforms                   darwin

checksums                   rmd160  4fa9ae601add837d3c032bbde5ed661efcd4c119 \
                            sha256  9c2614212f628fad451b847ffa0ce2fc59339453f4ea1bacf4417590caa5fc71 \
                            size    5017814

depends_build-append        port:python312
configure.args-append       -DPYTHON_EXECUTABLE=${prefix}/bin/python3.12 \
                            -DBUILD_TESTS=OFF -DENABLE_WERROR=OFF

compiler.cxx_standard       2017
