blob: 0c4b9d894cf7d7242a3a8219b0742b48844455ad (
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
37
38
|
# 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/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= File recovery tool which recovers deleted files from a block device
LICENSE= GPLv2
USES= perl5
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_PERL5= run
MAN1= dupemap.1 magicrescue.1 magicsort.1
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|^#!/usr/bin/env.*|#!${PERL}|' \
${WRKSRC}/magicsort
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in NEWS README
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|