Skip to content
Permalink
Browse files

Update Tesseract to 03.05.01

* Update Tesseract to 03.05.01
* Enable building with CMake

Fixes: https://trac.macports.org/ticket/54006
Closes: https://trac.macports.org/ticket/50128
Closes: https://trac.macports.org/ticket/50118
  • Loading branch information
markemer authored and pmetzger committed Mar 14, 2018
1 parent a04f2b1 commit 1b655b8f6dae92268712ca6ff6900ab60008f53e
Showing with 5 additions and 5 deletions.
  1. +5 −5 textproc/tesseract/Portfile
@@ -3,8 +3,9 @@
PortSystem 1.0

PortGroup github 1.0
PortGroup cmake 1.1

github.setup tesseract-ocr tesseract 3.04.01
github.setup tesseract-ocr tesseract 3.05.01
categories textproc graphics pdf
platforms darwin
license Apache-2
@@ -23,23 +24,22 @@ long_description The Tesseract OCR engine was one of the top 3 engines in \

github.master_sites ${github.homepage}/archive/${git.branch}

checksums rmd160 5e754411afa74cfc4e6b601fe2c770ba93a25f23 \
sha256 57f63e1b14ae04c3932a2683e4be4954a2849e17edd638ffe91bc5a2156adc6a
checksums rmd160 11fae540fdd0ec4f6f9388fae4bbde790b17ee4d \
sha256 05898f93c5d057fada49b9a116fc86ad9310ff1726a0f499c3e5211b3af47ec1

if {${name} eq ${subport}} {
depends_lib port:zlib \
port:libpng \
port:leptonica \
port:jpeg

configure.env-append LIBLEPT_HEADERSDIR=${prefix}/include/leptonica
cmake.out_of_source yes

livecheck.regex "/tag/(\[\.0-9\]+\[-a-z\]*)"
} else {
revision 1

depends_run port:tesseract

livecheck.type none
}

0 comments on commit 1b655b8

Please sign in to comment.
You can’t perform that action at this time.