aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ffe/Makefile
blob: 394eab58600eb79d8a28119adc43823494c86828 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ffe
PORTVERSION=    0.3.4
CATEGORIES= textproc
MASTER_SITES=   SF/ff-extractor/ff-extractor/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Flat file extractor

OPTIONS_DEFINE= DOCS

USES=       makeinfo
GNU_CONFIGURE=  yes
PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS=   ${PORTNAME}.html

post-patch:
    @${REINPLACE_CMD} -e 's/^install-data-am: install-htmlDATA install-info-am install-man/install-data-am: install-man/' ${WRKSRC}/doc/Makefile.in
    @${REINPLACE_CMD} -e 's|setmode|setmode123|g' ${WRKSRC}/configure

post-install:
    @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>