Ticket #14887: Portfile

File Portfile, 1.4 KB (added by markemer (Mark Anderson), 16 years ago)

Tesseract 2.01 portfile

Line 
1# $Id: $
2
3PortSystem                      1.0
4name                            tesseract
5version                         2.01
6categories                      textproc graphics pdf
7maintainers                     emer@emer.net
8description                     Open source OCR engine
9long_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
14platforms                       darwin
15homepage                        http://code.google.com/p/tesseract-ocr/
16master_sites            http://tesseract-ocr.googlecode.com/files:src \
17                                        http://tesseract-ocr.googlecode.com/files:langdata
18                                       
19use_bzip2                       no
20
21distfiles                       ${distname}${extract.suffix}:src \
22                                        tesseract-2.00.eng.tar.gz:langdata
23
24checksums 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
31post-extract {
32        foreach f [exec ls ${workpath}/tessdata/] {
33                copy ${workpath}/tessdata/${f} ${worksrcpath}/tessdata
34        }
35        delete ${workpath}/tessdata
36}
37
38depends_lib                     port:tiff