aboutsummaryrefslogtreecommitdiff
path: root/graphics/tesseract/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tesseract/Makefile')
-rw-r--r--graphics/tesseract/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 57c1876d5cda..9d447cb9c780 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tesseract
PORTVERSION= 5.2.0
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= pkubaj@FreeBSD.org
@@ -45,6 +46,10 @@ TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \
libfontconfig.so:x11-fonts/fontconfig
TOOLS_USE= GNOME=cairo,glib20,pango
+.if exists(/usr/include/omp.h)
+CMAKE_ON= OPENMP_BUILD
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}