# -*- 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               cmake 1.1
PortGroup               github 1.0

name                    openjph
github.setup            aous72 OpenJPH 0.27.3
revision                0
categories              graphics
license                 BSD
maintainers             {@barracuda156 macos-powerpc.org:barracuda} openmaintainer

description             Open-source implementation of High-throughput JPEG2000 (HTJ2K)
long_description        {*}${description}
checksums               rmd160  02c274e13a7cbeb33b1e59eb619533551d593f36 \
                        sha256  f96808ef72cf3acca73a52123bda3e680f6550dfb4774ad7de57eb3ce26de57a \
                        size    486878
github.tarball_from     archive

depends_lib-append      port:tiff

configure.args-append   -DBUILD_SHARED_LIBS=ON \
                        -DOJPH_BUILD_EXECUTABLES=ON \
                        -DOJPH_BUILD_TESTS=OFF \
                        -DOJPH_DISABLE_SIMD=ON \
                        -DOJPH_ENABLE_TIFF_SUPPORT=ON

compiler.cxx_standard   2011
