aboutsummaryrefslogtreecommitdiff
path: root/graphics/tesseract
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2016-06-28 09:28:07 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2016-06-28 09:28:07 +0000
commit70bf8f4f53f4e502bf5c9dbfc42c9c3bcd90f590 (patch)
tree7ab69a6e602190b6e4c38516898896a51a054770 /graphics/tesseract
parent44253107c757254d0e5af703a9bf5c5993434599 (diff)
downloadports-70bf8f4f53f4e502bf5c9dbfc42c9c3bcd90f590.tar.gz
ports-70bf8f4f53f4e502bf5c9dbfc42c9c3bcd90f590.zip
Fix build if DOCS are deselected
PR: 197074 Submitted by: olexander.v.melnyk@gmail.com Reported by: sergej.schmidt@uni-ulm.de
Notes
Notes: svn path=/head/; revision=417706
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 6172d23f9251..11b69cdeccb6 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -41,10 +41,13 @@ post-patch:
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
-post-install:
+.include <bsd.port.options.mk>
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS:Nhtml} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
+post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}