# -*- 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

name                dar
version             2.7.19
revision            0
checksums           rmd160  d8175c9540f0061bb74ff7e9ea688a16951e5709 \
                    sha256  601d67e7824daca586f2594a22b584703f8f6599a73e87f2afed2dfae2370889 \
                    size    2454221

categories          archivers
maintainers         {ryandesign @ryandesign} openmaintainer
license             GPL-2+

description         Disk Archiver

long_description    dar is a shell command that backs up directory trees \
                    and files.

homepage            https://dar.sourceforge.io
master_sites        sourceforge:project/dar/dar/${version}

depends_build       path:bin/doxygen:doxygen \
                    path:bin/pkg-config:pkgconfig

depends_lib         port:argon2 \
                    port:bzip2 \
                    port:curl \
                    port:gettext \
                    port:gpgme \
                    port:libgcrypt \
                    port:libiconv \
                    port:librsync \
                    port:lz4 \
                    port:lzo2 \
                    path:lib/libssl.dylib:openssl \
                    port:xz \
                    port:zlib \
                    port:zstd

compiler.cxx_standard 2014
compiler.thread_local_storage yes

universal_variant   no

configure.args      --disable-dar-static \
                    --disable-nodump-flag \
                    --disable-python-binding \
                    --disable-upx

# Tests require setup of public and private keys.
test.run            no
test.target         check
test.asroot         yes
