# $Id: Portfile,v 1.1 2004/10/23 15:18:55 mww Exp $

PortSystem 1.0

name			dd_rescue
version			1.10
categories		sysutils
maintainers		md@hudora.de
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
master_sites	http://www.garloff.de/kurt/linux/ddrescue/
checksums		md5 c8c021f028cc49617d8cbacd711a9b3f
worksrcdir		dd_rescue
patchfiles		patch-Makefile \
				patch-dd_rescue.c
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}
}
