1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/ffe/Makefile
Antoine Brodin 79cee04bec Allow to build with texinfo from ports
With hat:	portmgr
2014-06-26 07:32:36 +00:00

28 lines
755 B
Makefile

# 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= miwi@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>