aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fatback/Makefile
blob: 2b68d517715307cc32fbb9f0b4f6831d90731172 (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   fatback
PORTVERSION=    1.3
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Recover deleted files from FAT filesystems

GNU_CONFIGURE=  yes

INFO=       fatback-manual
EXTRACT_AFTER_ARGS= --exclude 'getopt*' \
            --exclude 'set[yl].c'

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e "s/-Werror//g" ${WRKSRC}/Makefile.in

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
    ${INSTALL_DATA} ${WRKSRC}/fatback-manual.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in fatback-manual.texi texinfo.tex ChangeLog AUTHORS
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>