svn commit: r417706 - head/graphics/tesseract

Tilman Keskinoz arved at FreeBSD.org
Tue Jun 28 09:28:08 UTC 2016


Author: arved
Date: Tue Jun 28 09:28:07 2016
New Revision: 417706
URL: https://svnweb.freebsd.org/changeset/ports/417706

Log:
  Fix build if DOCS are deselected
  
  PR:		197074
  Submitted by:	olexander.v.melnyk at gmail.com
  Reported by:	sergej.schmidt at uni-ulm.de

Modified:
  head/graphics/tesseract/Makefile

Modified: head/graphics/tesseract/Makefile
==============================================================================
--- head/graphics/tesseract/Makefile	Tue Jun 28 09:26:39 2016	(r417705)
+++ head/graphics/tesseract/Makefile	Tue Jun 28 09:28:07 2016	(r417706)
@@ -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}
 


More information about the svn-ports-head mailing list