# -*- 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            hoene libmysofa 1.3.3 v
revision                0
categories              audio devel
maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
license                 BSD

description             reader for AES SOFA files to get better HRTFs

long_description        ${name} is a simple set of C functions to read AES SOFA files, \
                        if they contain HRTFs stored according to the AES69-2015 standard.

checksums               rmd160  57738a3119c6af054fb26f11fa9a539ffba02677 \
                        sha256  a15f7236a2b492f8d8da69f6c71b5bde1ef1bac0ef428b94dfca1cabcb24c84f \
                        size    208753723
github.tarball_from     archive

depends_lib-append      port:zlib

configure.args-append   -DBUILD_TESTS=OFF

variant tests description {Enable tests} {
    test.run            yes
    configure.args-replace \
                        -DBUILD_TESTS=OFF \
                        -DBUILD_TESTS=ON
    depends_test-append port:cunit
}
