1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/sysutils/magicrescue/Makefile
Dmitry Marakasov 5f481b83ba - Fix shebangs
- Add LICENSE_FILE

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
2015-07-14 19:44:12 +00:00

40 lines
927 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= magicrescue
PORTVERSION= 1.1.9
PORTREVISION= 1
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
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5 shebangfix
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_PERL5= run
SHEBANG_FILES= magicsort tools/gimp-resave.pl
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>