# -*- 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           gitlab 1.0
PortGroup           boost 1.0

name                orcus-0.17
set my_name         orcus
gitlab.setup        ${my_name} ${my_name} 0.17.2
revision            0

categories          devel
license             MIT
maintainers         {gmail.com:audvare @Tatsh} openmaintainer

description         Standalone file import filter library for spreadsheet documents.
long_description    {*}${description}

depends_build-append \
                    port:pkgconfig

depends_lib-append \
                    port:ixion-0.17 \
                    port:mdds-2.0 \
                    port:zlib

checksums           rmd160  c215eb46c93f2a160a7730e680ed031db3826f36 \
                    sha256  79fcc2998191fe5853a05edafe97a04d73e45d95d38237ad03500fe266f03503 \
                    size    7967823

use_autoreconf      yes

compiler.cxx_standard 2017
# Extend blacklist to cover macOS10.13
compiler.blacklist-append {clang < 1050}

configure.cxxflags-append -std=gnu++17
configure.args-append \
                    --disable-python \
                    --disable-static \
                    --disable-werror \
                    --enable-spreadsheet-model \
                    --without-docs \
                    --without-tools

gitlab.livecheck.regex {(0\.17\.\d+)}
