summaryrefslogtreecommitdiff
path: root/sysutils/magicrescue/Makefile
blob: aed0d90fa18a179c7be479612301e9e2a4663f68 (plain) (blame)
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
26
27
28
29
30
31
32
33
# New ports collection makefile for:	magicrescue
# Date created:				18 Jul 2005
# Whom:					Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=	magicrescue
PORTVERSION=	1.1.4
CATEGORIES=	sysutils
MASTER_SITES=	http://jbj.rapanden.dk/magicrescue/release/

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	A file recovery tool which recovers deleted files from a block device

GNU_CONFIGURE=	yes
USE_PERL5_RUN=	yes

MAN1=		dupemap.1 magicrescue.1 magicsort.1

post-patch:
	@${REINPLACE_CMD} -e 's|^#!/usr/bin/env.*|#!${PERL}|' \
		${WRKSRC}/magicsort

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
.for f in NEWS README
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>