summaryrefslogtreecommitdiffstats
path: root/textproc/ffe/Makefile
blob: 3ba8caeef731899712e911bdef00428c4fe6473d (plain)
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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

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

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

GNU_CONFIGURE=	yes
PLIST_FILES=	bin/${PORTNAME}
MAN1=		${PORTNAME}.1
PORTDOCS=	${PORTNAME}.html

NO_STAGE=	yes
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:
.ifndef NOPORTDOCS
	@${INSTALL} -d ${DOCSDIR}/
	@cd ${WRKSRC}/doc/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud