# -*- 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                   cmake 1.1
PortGroup                   github 1.0
PortGroup                   openssl 1.0

github.setup                cisco mlspp 92aaa4134fa45ec39957a7c81a342401fba7feb2
version                     2026.04.14
revision                    0
categories                  net security
license                     BSD
maintainers                 nomaintainer
description                 Implementation of Messaging Layer Security
long_description            {*}${description}
checksums                   rmd160  ccd7c420f2175fb72abd4f9016110c2d8b8cf419 \
                            sha256  251a1d19510a31c27cf8e61123efeda10ea179a6e52557378a7ca2d6a7f59a0b \
                            size    4586820
github.tarball_from         archive

patchfiles-append           patch-CMakeLists.txt

depends_build-append        port:nlohmann-json \
                            path:bin/pkg-config:pkgconfig

compiler.cxx_standard       2017

# Custom namespace for support of Abaddon.
configure.args-append       -DDISABLE_GREASE=OFF \
                            -DMLS_CXX_NAMESPACE="mlspp" \
                            -DREQUIRE_BORINGSSL=OFF \
                            -DSANITIZERS=OFF \
                            -DTESTING=OFF
