# -*- 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        elmindreda duff 0.5.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            2
categories          sysutils
license             zlib
maintainers         {mps @Schamschula} openmaintainer

description         Unix command-line utility for quickly finding duplicates \
                    in a given set of files
long_description    {*}${description}
homepage            http://duff.dreda.org

# Required for autopoint.
depends_build       port:gettext

depends_lib         port:gettext-runtime

checksums           rmd160  c4ded9131a48ec70e33de6cb6dd6d9468e91184f \
                    sha256  c492477ff82e741f504cc349321313f46d03becbc4cd4a0964d57efe9df7e06e \
                    size    38369

# The en@quot and en@boldquot translations break the build.
patchfiles          disable-broken-translations.patch \
                    enable-autopoint.patch

use_autoreconf      yes
