| 1 | # $Id: $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name tesseract |
|---|
| 5 | version 2.01 |
|---|
| 6 | categories textproc graphics pdf |
|---|
| 7 | maintainers emer@emer.net |
|---|
| 8 | description Open source OCR engine |
|---|
| 9 | long_description The Tesseract OCR engine was one of the top 3 engines in the 1995 UNLV Accuracy test. Between \ |
|---|
| 10 | 1995 and 2006 it had little work done on it, but it is probably one of the most accurate open source \ |
|---|
| 11 | OCR engines available. The source code will read a binary, grey or color image and output text. A tiff reader \ |
|---|
| 12 | is built in that will read uncompressed TIFF images, or libtiff can be added to read compressed images. |
|---|
| 13 | |
|---|
| 14 | platforms darwin |
|---|
| 15 | homepage http://code.google.com/p/tesseract-ocr/ |
|---|
| 16 | master_sites http://tesseract-ocr.googlecode.com/files:src \ |
|---|
| 17 | http://tesseract-ocr.googlecode.com/files:langdata |
|---|
| 18 | |
|---|
| 19 | use_bzip2 no |
|---|
| 20 | |
|---|
| 21 | distfiles ${distname}${extract.suffix}:src \ |
|---|
| 22 | tesseract-2.00.eng.tar.gz:langdata |
|---|
| 23 | |
|---|
| 24 | checksums tesseract-2.01.tar.gz md5 fb0e6e7652b985049c11a4bc8e593885 \ |
|---|
| 25 | sha1 c35f3448e97d61e00980abba6b2e9cb6e151c366 \ |
|---|
| 26 | rmd160 e28bb1d60baf73c8eaa646b32825d9931116851e \ |
|---|
| 27 | tesseract-2.00.eng.tar.gz md5 b8291d6b3a63ce7879d688e845e341a9 \ |
|---|
| 28 | sha1 40292c8d206090c4ab342f6b7814ea41c075abce \ |
|---|
| 29 | rmd160 4a8090729504c216b3988f189ea79a5a5e223173 |
|---|
| 30 | |
|---|
| 31 | post-extract { |
|---|
| 32 | foreach f [exec ls ${workpath}/tessdata/] { |
|---|
| 33 | copy ${workpath}/tessdata/${f} ${worksrcpath}/tessdata |
|---|
| 34 | } |
|---|
| 35 | delete ${workpath}/tessdata |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | depends_lib port:tiff |
|---|