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

github.setup        uclouvain openjpeg 1.5.2 version.
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1
name                openjpeg15
categories          graphics
license             BSD

maintainers         nomaintainer

description         Library for manipulating JPEG-2000 images

long_description    The OpenJPEG library is an open-source JPEG 2000 codec. \
                    It has been developed in order to promote the use of JPEG \
                    2000, the new still-image compression standard from the \
                    Joint Photographic Experts Group (JPEG).

master_sites        sourceforge:project/openjpeg.mirror/${version}/
dist_subdir         openjpeg

checksums           rmd160  7b97b05e7a604da082ec8db03b6021b58537fb91 \
                    sha256  15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87

patchfiles          patch-configure.ac.diff

depends_build       port:pkgconfig

depends_lib         port:libpng \
                    port:tiff \
                    port:lcms2 \
                    port:zlib \
                    port:jbigkit

use_autoreconf      yes
autoreconf.args     -fvi

github.livecheck.regex  {(1\.[0-9.]+)}
