1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/sysutils/magicrescue/Makefile
2015-01-06 09:40:16 +00:00

38 lines
858 B
Makefile

# 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>