# -*- 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.0
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  b6f551f991fe0af1c9ecc45ff6a942e1732d8edb \
                        sha256  f6768e927d8e4e4884a2efcf500a88d1b6714a48d69516332a9256803a3c8343 \
                        size    483754
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
