source: trunk/dports/textproc/ocropus/Portfile

Last change on this file was 110103, checked in by jmr@…, 4 years ago

ocropus: license

  • 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 110103 2013-08-26 08:00:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ocropus
7hg.tag              62bdc7b8be62
8version             0.4-${hg.tag}
9categories          textproc
10license             Apache-2
11maintainers         nomaintainer
12platforms           darwin
13
14description         The OCRopus open source document analysis and OCR system
15
16long_description    OCRopus is a state-of-the-art document analysis and OCR \
17                    system, featuring pluggable layout analysis, pluggable \
18                    character recognition, statistical natural language \
19                    modeling, and multi-lingual capabilities.
20
21fetch.type          hg
22hg.url              https://code.google.com/p/ocropus.ocroold/
23
24homepage            http://code.google.com/p/ocropus/
25
26depends_build       port:scons
27
28depends_lib         port:iulib \
29                    port:sqlite3 \
30                    port:giflib
31
32patchfiles          patch-SConstruct.diff
33
34post-patch {
35    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SConstruct
36}
37
38use_configure       no
39
40build.cmd           scons
41build.target
42build.args          prefix=${prefix} iulib=${prefix} omp=no
43
44destroot.cmd        scons
45destroot.args       ${build.args}
46destroot.destdir    destdir=${destroot}
Note: See TracBrowser for help on using the repository browser.