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

github.setup        pauldreik rdfind 1.7.0 releases/
github.tarball_from archive
revision            0

categories          sysutils
license             GPL-2
maintainers         nomaintainer
description         duplicate file finder
long_description    finds and optionally deletes, or symlinks equal files \
                    on a filesystem
homepage            https://rdfind.pauldreik.se

checksums           rmd160  bfb3043491159e48190c0e00465f795309b604af \
                    sha256  bd17dbd9c6c9fc0c0b016b3e77ecf5cd718eee428172c767f429ba30405816d8 \
                    size    61690

compiler.cxx_standard 2017

use_automake        yes
automake.cmd        ./bootstrap.sh
automake.args

depends_build-append \
                    port:automake \
                    port:autoconf \
                    port:autoconf-archive

depends_lib-append \
                    port:nettle

configure.args-append \
                    --disable-silent-rules \
                    CPPFLAGS='-I${prefix}/include/ -std=c++17'\
                    LDFLAGS=-L${prefix}/lib

github.livecheck.regex {([0-9.]+)}
