blob: 0a7894afc1be198451e6fc9ce736214e0e934bb1 (
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
|
PORTNAME= magicrescue
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.10
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= File recovery tool which recovers deleted files from a block device
WWW= https://github.com/jbj/magicrescue/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= jbj
USE_PERL5= run
SHEBANG_FILES= magicsort tools/*.pl tools/checkrecipe
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
MAKE_ENV+= STAGEDIR=${STAGEDIR}
# remove after manprefix migration
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/magicrescue \
${STAGEDIR}${PREFIX}/bin/dupemap
.for f in safecat inputseek textextract
${STRIP_CMD} ${STAGEDIR}${DATADIR}/tools/${f}
.endfor
.include <bsd.port.mk>
|