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

name                dd_rescue
version             1.14
categories          sysutils
maintainers         nomaintainer
platforms           darwin
description         copy data from one file or block device to another
long_description    dd_rescue is modeled after dd but optimized for copying \
                    data from possible damaged disks to your system
homepage            http://www.garloff.de/kurt/linux/ddrescue/
master_sites        ${homepage}
checksums           md5     417d26eacb5fb7851487329542f225e8 \
                    sha1    0a9c06a9679f50294f7b2968bf026944c808315a \
                    rmd160  e6e12c460c29845912c2e456ac88160009341dcf
worksrcdir          dd_rescue
patchfiles          patch-Makefile
use_configure       no
build.target        default

destroot.destdir    INSTALLDIR=${destroot}${prefix}/bin

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} README.dd_rescue COPYING \
        ${destroot}${prefix}/share/doc/${name}
}
