aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ffe/Makefile
blob: cb84407a2d17e1528988dd8b549d77d20bc9cca1 (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
# New ports collection makefile for:    ffe
# Date created:     19 September 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ffe
PORTVERSION=    0.2.1
CATEGORIES= textproc
MASTER_SITES=   SFE/ff-extractor

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

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --mandir=${MAN1PREFIX}/man
PLIST_FILES=    bin/${PORTNAME}
MAN1=       ${PORTNAME}.1
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

post-install:
.ifndef NOPORTDOCS
    @${INSTALL} -d ${DOCSDIR}/
    @${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>