blob: 99668a44b4ad9b337c66f3981ba6c04cddfdc3f9 (
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
34
35
36
37
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= magicrescue
PORTVERSION= 1.1.9
CATEGORIES= sysutils
MASTER_SITES= http://www.itu.dk/people/jobr/magicrescue/release/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= File recovery tool which recovers deleted files from a block device
LICENSE= GPLv2
USES= perl5 shebangfix
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_PERL5= run
SHEBANG_FILES= magicsort
OPTIONS_DEFINE= DOCS
MAKE_ENV+= STAGEDIR=${STAGEDIR}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in NEWS README
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/magicrescue
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dupemap
.for f in safecat inputseek textextract
@${STRIP_CMD} ${STAGEDIR}${DATADIR}/tools/${f}
.endfor
.include <bsd.port.mk>
|