# -*- 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.8.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  6b9efea934ae9446ef49251e1789b342d924b5c9 \
                    sha256  6651603138cb91872d3e1628af5b89992f1937a86201645e8387fa42f98bc206 \
                    size    68547

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.]+)}
