summaryrefslogtreecommitdiff
path: root/sysutils/dd_rescue/Makefile
blob: 31094f459adfb23a3cf7126736b79fa89a398250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: Makefile,v 1.9 2013/06/04 00:47:46 mef Exp $

DISTNAME=	dd_rescue-1.33
CATEGORIES=	sysutils
MASTER_SITES=	${HOMEPAGE:Q}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.garloff.de/kurt/linux/ddrescue/
COMMENT=	Tool like dd(1) for rescuing data from media with errors
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/dd_rescue

BUILD_TARGET=	dd_rescue

USE_TOOLS+=	gmake

INSTALLATION_DIRS=	bin share/doc/${PKGBASE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dd_rescue ${DESTDIR}${PREFIX}/bin/
	${INSTALL_DATA} ${WRKSRC}/README.dd_rescue \
		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/README

.include "../../mk/bsd.pkg.mk"