# -*- 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 PortGroup openssl 1.0 PortGroup compiler_blacklist_versions 1.0 PortGroup legacysupport 1.1 # clock_gettime legacysupport.newest_darwin_requires_legacy 15 github.setup Yubico libfido2 1.13.0 revision 0 categories security crypto maintainers {@trodemaster netjibbing.com:blake} \ openmaintainer license bsd description library to communicate with a FIDO device over USB long_description provides library functionality and command-line tools to communicate with a FIDO device over USB, and to verify attestation and assertion signatures. checksums rmd160 222b9a44f9c41dcec401183e3173a6a3fac0793e \ sha256 407516cbb6b10b036e9f75f1e6119ba8f96e94b5ac83ce429e26e2f965a678d1 \ size 652813 depends_build-append \ port:mandoc \ port:pkgconfig depends_lib-append port:libcbor platform darwin { if {${os.major} < 16} { patchfiles-append \ patch-hid_osx.diff } if {[string match *gcc* ${configure.compiler}]} { patchfiles-append \ patch-apple-gcc.diff } if {${build_arch} in [list ppc ppc64]} { patchfiles-append \ patch-werror.diff } } compiler.thread_local_storage yes configure.args-append \ -DBUILD_EXAMPLES=OFF \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_STATIC_LIBS=ON \ -DBUILD_TESTS=ON \ -DBUILD_TOOLS=ON \ -DUSE_HIDAPI=OFF test.run yes # We want tests use the newly-built lib and not the one that may be installed in the prefix. # Otherwise some tests may fail with missing symbols. test.env-append DYLD_LIBRARY_PATH=${cmake.build_dir}/src