source: trunk/dports/textproc/cuneiform/Portfile @ 110661

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

cuneiform: Adjust blacklisting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 110661 2013-09-03 03:41:15Z jeremyhu@macports.org $
3
4PortSystem              1.0
5PortGroup               cmake 1.0
6
7name                    cuneiform
8version                 1.1.0
9revision                1
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 {
35    if {${os.major} >= 13} {
36        depends_lib
37        depends_run
38        pre-fetch {
39            ui_error "$name does not build on Mavericks or later."
40            error "unsupported platform"
41        }
42    }
43}
44
45post-extract {
46    file mkdir ${worksrcpath}/build
47}
48
49platform darwin powerpc {
50    patchfiles          patch-perc.c.diff \
51                        patch-CMakeLists.txt.diff
52}
53
54# character too large for enclosing character literal type
55compiler.blacklist      *clang*
56
57configure.dir           ${worksrcpath}/build
58configure.args-append   -DImageMagick_Magick++_INCLUDE_DIR:PATH=${prefix}/include/ImageMagick-6 \
59                        -DImageMagick_Magick++_LIBRARY:FILEPATH=${prefix}/lib/libMagick++-6.Q16.dylib \
60                        ${worksrcpath}
61
62build.dir               ${worksrcpath}/build
63
64livecheck.type          regex
65livecheck.regex         ${name}-linux-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.