source: trunk/dports/science/gmic/Portfile

Last change on this file was 150052, checked in by devans@…, 13 months ago

gmic: update to version 1.7.3.

  • 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 150052 2016-07-09 23:54:20Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gmic
7version             1.7.3
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  165f6ebbf01333121c0336092b402ba377d1f04e \
33                    sha256  32975672ac3ebd8d78db6d49531720497de6cb83c7d44a92c7b6cc959cf95025
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.