PortSystem          1.0
PortGroup           github 1.0

github.setup        jessek hashdeep 4.4 v
name                md5deep
categories          security sysutils
license             {public-domain GPL-2}
maintainers         nomaintainer
description         Recursively compute digests on files/directories
long_description \
   md5deep and hashdeep are a cross-platform set of programs to recursively \
   compute MD5, SHA-1, or SHA-256 message digests on an arbitrary number of \
   files.

platforms           darwin

checksums           rmd160  d92dcc3d9154a84d79e7807918eb5abb2e80940a \
                    sha256  ec9d74a20016ec4f03914b6c42776d5fe4c7ffa63b73c85d07330abcb8327b3f

patchfiles          patch-src-hash.cpp.diff

use_autoreconf      yes

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FILEFORMAT \
      NEWS README TODO ${destroot}${prefix}/share/doc/${name}
}
