# -*- 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 a431905cadafaa2d39bf072ee9e6dcd7d607ee04 version 1.0.2 revision 2 categories devel maintainers {@barracuda156 gmail.com:vital.had} openmaintainer license BSD description Oxen C++ logging library long_description {*}${description} checksums rmd160 47d0bf13df816f0fc56e733b0b4abbbe98b1b6f8 \ sha256 49cf92096add6f67e1257168cbdae67aa3c288c88c1f0b64b4731844ffc45bc2 \ size 14686 set port_libfmt libfmt10 cmake.module_path-append \ ${prefix}/lib/${port_libfmt}/cmake depends_lib-append port:${port_libfmt} \ port:spdlog compiler.cxx_standard 2017 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} }