# -*- 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.2 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  256d1580973754b569d9b9591d76c3459300c120 \
                        sha256  6c5224562895977e87698a64cb7031361803d136057bba35ed4979b69ab4ba76 \
                        size    208753292
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
}
