source: trunk/dports/science/gmic/Portfile @ 147739

Last change on this file since 147739 was 147739, checked in by khindenburg@…, 4 years ago

gmic: update to 1.7.0 #33008

Testing: the plugin and command line appear to work as the previous
versions. Disable new Qt GUI zart for now.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 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 147739 2016-04-13 23:29:29Z khindenburg@macports.org $
3
4PortSystem          1.0
5
6name                gmic
7version             1.7.0
8license             CeCILL
9categories          science
10platforms           darwin
11maintainers         nomaintainer
12
13description         G'MIC is an interpreter of image processing macros \
14                    (stand-alone binary and GIMP plug-in).
15
16long_description    G'MIC stands for GREYC's Magic Image Converter. It is \
17                    focused on the design of possibly complex pipelines for \
18                    converting, manipulating, filtering and visualizing \
19                    generic 1d/2d/3d multi-spectral image datasets. This \
20                    includes classical color images, but also more complex \
21                    data as image sequences or 3D volumetric images. G'MIC \
22                    has been designed with portability in mind and runs on \
23                    different platforms (Windows, Unix, Mac OS X).
24
25homepage            http://gmic.eu
26master_sites        http://gmic.eu/files/source/
27
28distfiles           ${name}_${version}${extract.suffix}
29
30worksrcdir          ${worksrcdir}/src
31
32checksums           rmd160  fe208ee03f7b2d810fd77bd44d5714f13a1a5324 \
33                    sha256  a114ca67c988a3be6eca847d2540fcc15dd98bcdaab00dba88bda2b5fdf249db
34
35depends_build       port:pkgconfig
36
37depends_lib         path:lib/libavcodec.dylib:ffmpeg \
38                    port:GraphicsMagick \
39                    port:libpng \
40                    port:jpeg \
41                    port:tiff \
42                    port:zlib \
43                    port:openexr \
44                    port:ilmbase \
45                    port:fftw-3 \
46                    port:xorg-libXext \
47                    port:gimp2
48
49# This also disables zart which requires qmake
50patchfiles          patch-Makefile.diff \
51                    libcxx.patch
52
53post-patch {
54    reinplace  "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
55}
56
57use_configure       no
58
59# opencv is not universal
60universal_variant   no
61
62# build uses far more memory per job than MacPorts expects
63use_parallel_build  no
64
65# There is one .c program that needs CC
66build.args-append   CC="${configure.cc}" \
67                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
68                    CXX=${configure.cxx} \
69                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
70                    CPP="${configure.cpp}" \
71                    LDFLAGS="[get_canonical_archflags ld]" \
72                    IS_GCC=yes \
73                    OPT_CFLAGS="${configure.optflags}"
74
75livecheck.url       http://gmic.eu/files/source/
76livecheck.regex     ${name}_(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.