aboutsummaryrefslogtreecommitdiff
path: root/textproc/ffe
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-26 20:29:57 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-26 20:29:57 +0000
commit11df4e8f057840afb1d5c0f0cdd673718cb1b623 (patch)
tree2ad4c67552b09a462d9b8479084de4b193e445b0 /textproc/ffe
parent8d88c57c65f498972a9f1dd86d18fae4f889f9b6 (diff)
downloadports-11df4e8f057840afb1d5c0f0cdd673718cb1b623.tar.gz
ports-11df4e8f057840afb1d5c0f0cdd673718cb1b623.zip
Support staging.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=341279
Diffstat (limited to 'textproc/ffe')
-rw-r--r--textproc/ffe/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/textproc/ffe/Makefile b/textproc/ffe/Makefile
index 3ba8caeef731..c77919b4dc62 100644
--- a/textproc/ffe/Makefile
+++ b/textproc/ffe/Makefile
@@ -9,20 +9,18 @@ MASTER_SITES= SF/ff-extractor/ff-extractor/${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Flat file extractor
+OPTIONS_DEFINE= DOCS
+
GNU_CONFIGURE= yes
-PLIST_FILES= bin/${PORTNAME}
-MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
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
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>