mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 20:11:19 +02:00
37 lines
801 B
Makefile
37 lines
801 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
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
|
|
|
|
USES= perl5 shebangfix
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
USE_PERL5= run
|
|
|
|
SHEBANG_FILES= magicsort tools/gimp-resave.pl
|
|
|
|
MAKE_ENV+= STAGEDIR=${STAGEDIR}
|
|
|
|
pre-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/tools
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/man/man1
|
|
|
|
|
|
post-install:
|
|
${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>
|
|
#EOF
|