diff options
Diffstat (limited to 'sysutils/magicrescue/Makefile')
-rw-r--r-- | sysutils/magicrescue/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/magicrescue/Makefile b/sysutils/magicrescue/Makefile new file mode 100644 index 000000000000..1179d157bed8 --- /dev/null +++ b/sysutils/magicrescue/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: magicrescue +# Date created: 18 Jul 2005 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $FreeBSD$ +# + +PORTNAME= magicrescue +PORTVERSION= 1.1.4 +CATEGORIES= sysutils +MASTER_SITES= http://jbj.rapanden.dk/magicrescue/release/ + +MAINTAINER= ehaupt@critical.ch +COMMENT= A file recovery tool which recovers deleted files from a block device + +GNU_CONFIGURE= yes +USE_REINPLACE= yes +USE_PERL5_RUN= yes + +MAN1= dupemap.1 magicrescue.1 magicsort.1 + +post-patch: + @${REINPLACE_CMD} -e 's|^#!/usr/bin/env.*|#!${PERL}|' \ + ${WRKSRC}/magicsort + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} +.for f in NEWS README + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |