source: trunk/dports/textproc/cuneiform/Portfile

Last change on this file was 140052, checked in by ryandesign@…, 2 years ago

ImageMagick, p5-perlmagick: update to 6.9.2-0 and revbump ports linked with libMagick++ (#47911)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 140052 2015-09-08 02:47:33Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               cmake 1.0
6
7name                    cuneiform
8version                 1.1.0
9revision                2
10set branch              [join [lrange [split ${version} .] 0 1] .]
11platforms               darwin
12maintainers             nomaintainer
13categories              textproc graphics
14
15description             Cuneiform is an OCR system with layout analysis.
16long_description        Cuneiform is an OCR system originally developed and \
17                        open sourced by Cognitive technologies. \
18                        In addition to text recognition it also does layout \
19                        analysis and text format recognition. \
20                        Cuneiform supports several languages.
21
22homepage                https://launchpad.net/cuneiform-linux
23license                 BSD
24
25master_sites            http://launchpad.net/cuneiform-linux/${branch}/${branch}/+download/
26distname                ${name}-linux-${version}
27use_bzip2               yes
28
29checksums               sha1    b78ebcf987c4792c360f23bdbe054d554ce2251c \
30                        rmd160  bc23f83103316ce635635899cf6d4d797edefc45
31
32depends_lib             port:ImageMagick
33
34platform darwin powerpc {
35    patchfiles          patch-perc.c.diff \
36                        patch-CMakeLists.txt.diff
37}
38
39patchfiles-append       patch-cuneiform_src-Kern-leo-src-leo_dll.c.diff
40
41cmake.out_of_source     yes
42
43configure.args-append   -DImageMagick_Magick++_INCLUDE_DIR:PATH=${prefix}/include/ImageMagick-6 \
44                        -DImageMagick_Magick++_LIBRARY:FILEPATH=${prefix}/lib/libMagick++-6.Q16.dylib
45
46livecheck.type          regex
47livecheck.regex         ${name}-linux-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.