# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0

name			dd_rescue
version			1.14
categories		sysutils
maintainers		hudora.de:md
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}
}
