source: trunk/dports/textproc/ocropus/Portfile @ 78734

Last change on this file since 78734 was 78734, checked in by ryandesign@…, 6 years ago

ocropus: new port, version 0.4; see #29497

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 78734 2011-05-20 10:24:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ocropus
7hg.tag              62bdc7b8be62
8version             0.4-${hg.tag}
9categories          textproc
10maintainers         nomaintainer
11platforms           darwin
12
13description         The OCRopus open source document analysis and OCR system
14
15long_description    OCRopus is a state-of-the-art document analysis and OCR \
16                    system, featuring pluggable layout analysis, pluggable \
17                    character recognition, statistical natural language \
18                    modeling, and multi-lingual capabilities.
19
20fetch.type          hg
21hg.url              https://ocropus.googlecode.com/hg/
22
23homepage            http://code.google.com/p/ocropus/
24
25depends_build       port:scons
26
27depends_lib         port:iulib \
28                    port:sqlite3 \
29                    port:giflib
30
31patchfiles          patch-SConstruct.diff
32
33post-patch {
34    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SConstruct
35}
36
37use_configure       no
38
39build.cmd           scons
40build.target
41build.args          prefix=${prefix} iulib=${prefix} omp=no
42
43destroot.cmd        scons
44destroot.args       ${build.args}
45destroot.destdir    destdir=${destroot}
Note: See TracBrowser for help on using the repository browser.