pkgsrc/sysutils/dd_rescue/Makefile
taca 5157827466 Update dd_rescue to 1.14 and add support for DESTDIR.
Changes from 1.12:

The current version is 1.14, released 2007-08-28.
In version 1.14, a bug is fixed that could lead to a target file not having the
correct size when copied in sparse (-a) mode.
In version 1.13, a bug with read-errors and non-seekable output has been fixed.
2007-12-22 04:27:16 +00:00

24 lines
686 B
Makefile

# $NetBSD: Makefile,v 1.3 2007/12/22 04:27:16 taca Exp $
DISTNAME= dd_rescue-1.14
CATEGORIES= sysutils
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.garloff.de/kurt/linux/ddrescue/
COMMENT= dd(1)-like tool for rescuing data from media with errors
WRKSRC= ${WRKDIR}/dd_rescue
BUILD_TARGET= dd_rescue
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
PKG_DESTDIR_SUPPORT= user-destdir
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/dd_rescue ${DESTDIR}${PREFIX:Q}/bin/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC:Q}/README.dd_rescue \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/README
.include "../../mk/bsd.pkg.mk"