# -*- 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.0 PortGroup github 1.0 github.setup jasper-software jasper 2.0.33 version- name jasper2 categories graphics license JasPer-2 maintainers {jmr @jmroot} openmaintainer description Library for manipulating JPEG-2000 images long_description \ The JasPer Project is an open-source initiative to provide a free \ software-based reference implementation of the codec specified in the \ JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). This port is \ the older 2.x release series. homepage http://www.ece.uvic.ca/~mdadams/jasper/ dist_subdir jasper github.tarball_from releases checksums rmd160 ed5665914e6c8a312535bd771028f7bf6f88b542 \ sha256 28d28290cc2eaf70c8756d391ed8bcc8ab809a895b9a67ea6e89da23a611801a depends_lib path:include/turbojpeg.h:libjpeg-turbo patchfiles patch-jiv.c.diff prefix ${prefix}/libexec/${name} cmake.out_of_source yes configure.args-append -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=false \ -DGLUT_glut_LIBRARY=/System/Library/Frameworks/GLUT.framework \ -DJAS_ENABLE_DOC=false test.run yes variant docs description {build documentation} { depends_build-append \ path:bin/doxygen:doxygen \ port:texlive-latex \ port:texlive-latex-extra \ port:texlive-fonts-recommended \ port:texlive-latex-recommended configure.args-delete -DJAS_ENABLE_DOC=false configure.args-append -DJAS_ENABLE_DOC=true } livecheck.url https://api.github.com/repos/jasper-software/jasper/tags livecheck.regex {"name":\s+"version-(2\.[0-9.]+)"}