# -*- 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 PortSystem 1.0 PortGroup active_variants 1.1 PortGroup bitbucket 1.0 PortGroup ocaml 1.1 bitbucket.setup camlspotter camlimages 5.0.1 revision 6 categories ocaml devel graphics license {LGPL-2 Permissive} maintainers nomaintainer description Objective Caml interface to image manipulation functions. long_description Camlimages provides basic functions for image processing \ and loading/saving various image file formats, an \ interface to display images, and a Freetype interface \ to render TrueType fonts. homepage http://gallium.inria.fr/camlimages/ platforms darwin ocaml.build_type dune checksums rmd160 04b9ede7129304c5b69fcd99835c8f72490216ce \ sha256 30b7d2043c180e950e8a0a96f5569b8932615c3b992a73cb79540098b4e36ac1 \ size 845096 patchfiles-append patch-rgb_location.diff post-patch { reinplace "s|__MACPORTS_PREFIX__|${prefix}|g" \ ${worksrcpath}/config/ciconfig.ml } depends_build-append \ port:pkgconfig depends_lib-append port:freetype \ port:ghostscript \ port:giflib \ path:include/turbojpeg.h:libjpeg-turbo \ port:lablgtk2 \ port:libpng \ port:libexif \ port:ocaml-configurator \ port:ocaml-cppo \ port:rgb \ port:tiff \ port:xpm # camlimages builds differently depending on graph variant of findlib variant graph description {add support for the graph library} { require_active_variants ocaml-findlib graph } if {![variant_isset graph]} { require_active_variants ocaml-findlib "" graph }