Ticket #24569: Portfile

File Portfile, 1.1 KB (added by macports@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem              1.0
4
5name                    cuneiform
6version                 0.8.0
7platforms               darwin
8maintainers             nomaintainer
9categories              textproc, graphics
10description             Cuneiform is an OCR system with layout analysis.
11homepage                https://launchpad.net/cuneiform-linux
12master_sites    http://launchpad.net/cuneiform-linux/0.8/0.8/+download/
13distname                ${name}-linux-${version}
14checksums       md5 271c1adae56bf8b977bf7326f8a8a0bc \
15                        sha1 1627f5d3cd7c8d4fac476fbe749e5593e4460ff0 \
16                        rmd160 29e2ba3e1865643bd1c2cf559c29bc8a88875a49
17
18long_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
24use_bzip2               yes
25depends_build   port:cmake
26depends_lib     port:ImageMagick
27
28configure.dir   ${worksrcpath}/build
29configure.cmd   cmake
30configure.pre_args      -DCMAKE_INSTALL_PREFIX=${prefix} \
31                                -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib \
32                                -DCMAKE_BUILD_TYPE=relwithdebinfo ..
33
34pre-configure {
35        file mkdir ${worksrcpath}/build
36}
37build.dir               ${worksrcpath}/build