# -*- 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 github.setup oxen-io oxen-logging 1eed2d9a30973a13db69288cff859a02c0461b8f version 1.0.3 revision 0 categories devel maintainers {@barracuda156 gmail.com:vital.had} openmaintainer license BSD description Oxen C++ logging library long_description {*}${description} checksums rmd160 115bd077ed1eb84ae23c48d28a240eb5d89fe341 \ sha256 70917390d2047297437dd167c5522174128486b9ac0d4fb71e6385684c23f9aa \ size 23744 github.tarball_from archive set port_libfmt libfmt10 cmake.module_path-append \ ${prefix}/lib/${port_libfmt}/cmake depends_lib-append port:${port_libfmt} \ port:spdlog compiler.cxx_standard 2020 configure.args-append -DOXEN_LOGGING_FMT_HEADER_ONLY=OFF \ -DOXEN_LOGGING_SPDLOG_HEADER_ONLY=OFF destroot { copy ${cmake.build_dir}/liboxen-logging.a ${destroot}${prefix}/lib copy ${worksrcpath}/include/oxen ${destroot}${prefix}/include set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir} }