1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name cuneiform |
---|
6 | version 0.8.0 |
---|
7 | platforms darwin |
---|
8 | maintainers nomaintainer |
---|
9 | categories textproc, graphics |
---|
10 | description Cuneiform is an OCR system with layout analysis. |
---|
11 | homepage https://launchpad.net/cuneiform-linux |
---|
12 | master_sites http://launchpad.net/cuneiform-linux/0.8/0.8/+download/ |
---|
13 | distname ${name}-linux-${version} |
---|
14 | checksums md5 271c1adae56bf8b977bf7326f8a8a0bc \ |
---|
15 | sha1 1627f5d3cd7c8d4fac476fbe749e5593e4460ff0 \ |
---|
16 | rmd160 29e2ba3e1865643bd1c2cf559c29bc8a88875a49 |
---|
17 | |
---|
18 | long_description \ |
---|
19 | Cuneiform is an OCR system originally developed and open sourced by \ |
---|
20 | Cognitive technologies. \ |
---|
21 | In addition to text recognition it also does layout analysis and text \ |
---|
22 | format recognition. Cuneiform supports several languages. |
---|
23 | |
---|
24 | use_bzip2 yes |
---|
25 | depends_build port:cmake |
---|
26 | depends_lib port:ImageMagick |
---|
27 | |
---|
28 | configure.dir ${worksrcpath}/build |
---|
29 | configure.cmd cmake |
---|
30 | configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
31 | -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib \ |
---|
32 | -DCMAKE_BUILD_TYPE=relwithdebinfo .. |
---|
33 | |
---|
34 | pre-configure { |
---|
35 | file mkdir ${worksrcpath}/build |
---|
36 | } |
---|
37 | build.dir ${worksrcpath}/build |
---|