source: trunk/dports/textproc/tesseract/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem          1.0
4
5name                tesseract
6version             2.03
7categories          textproc graphics pdf
8maintainers         emer.net:emer
9description         Open source OCR engine
10long_description    The Tesseract OCR engine was one of the top 3 engines in \
11                    the 1995 UNLV Accuracy test. Between 1995 and 2006 it had \
12                    little work done on it, but it is probably one of the \
13                    most accurate open source OCR engines available. The \
14                    source code will read a binary, grey or color image and \
15                    output text. A tiff reader is built in that will read \
16                    uncompressed TIFF images, or libtiff can be added to read \
17                    compressed images.
18
19platforms           darwin
20homepage            http://code.google.com/p/tesseract-ocr/
21master_sites        http://tesseract-ocr.googlecode.com/files:src \
22                    http://tesseract-ocr.googlecode.com/files:langdata
23
24set lang_data       ${name}-2.00.eng${extract.suffix}
25
26distfiles \
27    ${distname}${extract.suffix}:src \
28    ${lang_data}:langdata
29
30checksums\
31    ${distname}${extract.suffix} \
32                md5     5777b70b11df16c1ac9aa155d7cfc553 \
33                sha1    b7859278ff98a8b64bf98b5a519688e1559cec57 \
34            rmd160  7519e7f4d876444bd3264d599dbf423e22443311 \
35    ${lang_data} \
36        md5     b8291d6b3a63ce7879d688e845e341a9 \
37                sha1    40292c8d206090c4ab342f6b7814ea41c075abce \
38                rmd160  4a8090729504c216b3988f189ea79a5a5e223173
39               
40post-extract {
41    foreach f [exec ls ${workpath}/tessdata/] {
42        copy ${workpath}/tessdata/${f} ${worksrcpath}/tessdata
43    }
44    delete ${workpath}/tessdata
45}
46
47depends_lib         port:tiff
Note: See TracBrowser for help on using the repository browser.