# -*- 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.8.3
revision            0
checksums           rmd160  974618c96575d83b4179adb4f3628578bf579cdd \
                    sha256  812648f4d85fa2fe63ddad811f1c392f02c8627b54f9a610a1b54f51fbd96512 \
                    size    2381468

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 \
                    port:gettext \
                    path:bin/pkg-config:pkgconfig

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

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
