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

# In case releases are not frequent, fall back to the stable branch.
# https://doc.libsodium.org/installation

github.setup        jedisct1 libsodium 1.0.22 "" -RELEASE
github.tarball_from releases
categories          devel security
license             ISC
maintainers         nomaintainer
description         Portable and packageable NaCl-based crypto library
long_description    ${name} is a library for network communication, \
                    encryption, decryption, signatures, etc.

checksums           rmd160  666e0c88518e9c3984e0e63908e3f296a1fb3841 \
                    sha256  adbdd8f16149e81ac6078a03aca6fc03b592b89ef7b5ed83841c086191be3349 \
                    size    2008529

depends_build-append    path:bin/pkg-config:pkgconfig

compiler.cxx_standard   2011
configure.args          --disable-silent-rules

test.run            yes
test.target         check

# github.livecheck.branch stable
