# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
if {"tesseract" eq ${subport} || "tesseract-training" eq ${subport}} {
github.setup tesseract-ocr tesseract 4.0.0
github.setup tesseract-ocr tessdata 4.0.0
categories textproc graphics pdf
maintainers {mark @markemer} openmaintainer
description Open source OCR engine
long_description The Tesseract OCR engine was one of the top 3 engines in \
the 1995 UNLV Accuracy test. Between 1995 and 2006 it had \
little work done on it, but it is probably one of the \
most accurate open source OCR engines available. The \
source code will read a binary, grey or color image and \
output text. A tiff reader is built in that will read \
uncompressed TIFF images, or libtiff can be added to read \
checksums rmd160 237576f9a616aaa013b7c80562d1c0cd8fd4af87 \
sha256 2135162c4b306d9f13d07747058fd0f3406fea06d601503ced3cf99aad9899b9 \
if {"tesseract" eq ${subport} || "tesseract-training" eq ${subport}} {
autoreconf.cmd ./autogen.sh
depends_build-append port:pkgconfig \
patchfiles patch-fix-mtree-violation-by-cmake-files.diff
github.livecheck.regex {(\d\.\d+(\.\d+)?(?!-rc))}
checksums rmd160 037e33f19787c2f08544bcde213eb202f73d9546 \
sha256 1c36d1e521e6420ea9c8bf13d8a45f67d54fdcf6a132fa72370ae85464118b96 \