# -*- 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 # $Id$ PortSystem 1.0 PortGroup cmake 1.0 name cuneiform version 1.1.0 revision 2 set branch [join [lrange [split ${version} .] 0 1] .] platforms darwin maintainers nomaintainer categories textproc graphics description Cuneiform is an OCR system with layout analysis. long_description Cuneiform is an OCR system originally developed and \ open sourced by Cognitive technologies. \ In addition to text recognition it also does layout \ analysis and text format recognition. \ Cuneiform supports several languages. homepage https://launchpad.net/cuneiform-linux license BSD master_sites http://launchpad.net/cuneiform-linux/${branch}/${branch}/+download/ distname ${name}-linux-${version} use_bzip2 yes checksums sha1 b78ebcf987c4792c360f23bdbe054d554ce2251c \ rmd160 bc23f83103316ce635635899cf6d4d797edefc45 depends_lib port:ImageMagick platform darwin powerpc { patchfiles patch-perc.c.diff \ patch-CMakeLists.txt.diff } patchfiles-append patch-cuneiform_src-Kern-leo-src-leo_dll.c.diff cmake.out_of_source yes configure.args-append -DImageMagick_Magick++_INCLUDE_DIR:PATH=${prefix}/include/ImageMagick-6 \ -DImageMagick_Magick++_LIBRARY:FILEPATH=${prefix}/lib/libMagick++-6.Q16.dylib livecheck.type regex livecheck.regex ${name}-linux-(\[0-9.\]+)${extract.suffix}