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

github.setup        twaugh patchutils 0.4.5
github.tarball_from releases
revision            0

homepage            https://cyberelk.net/tim/${name}

description         small collection of programs that operate on patch files
long_description    Patchutils is a small collection of programs that   \
                    operate on  patch files.  They are the following:   \
                    interdiff, combinediff, filterdiff, fixcvsdiff,     \
                    lsdiff, splitdiff, rediff, grepdiff, recountdiff,   \
                    unwrapdiff, dehtmldiff, flipdiff, espdiff

categories          devel
license             GPL-2+
maintainers         nomaintainer

checksums           rmd160  6e37b943fee54255c52d49b8d4afb1626ae3743b \
                    sha256  8386a35a4d2d3cbc28fdcc93c5be007c382c78e3ee079070139f0d822e013325 \
                    size    427628

use_xz              yes

depends_lib-append  port:pcre2

configure.checks.implicit_function_declaration.whitelist-append strchr unreachable

configure.args-append \
                    --disable-silent-rules \
                    --with-pcre2
