# -*- 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           legacysupport 1.1

# strnlen
legacysupport.newest_darwin_requires_legacy 10

name                jpeginfo
version             1.7.1
revision            0
categories          multimedia
maintainers         {yandex.com:bstj @toy} openmaintainer
license             GPL-2+

description         Prints information and tests integrity of JPEG/JFIF files.
long_description    Utility to get information about jpeg files and check them for errors. \
                    Program also supports automagic deletion of broken jpegs.

homepage            https://www.kokkonen.net/tjko/projects.html
master_sites        https://www.kokkonen.net/tjko/src/

checksums           rmd160  906387ee90fe07f7b4245f9ab7d693d92a438023 \
                    sha256  274f6be23fd089bd9e8715b67643a66ca2f63a503028bdea3e571228d50b669e \
                    size    448213

depends_lib         path:include/turbojpeg.h:libjpeg-turbo

# Fix implicit declaration of function errors in configure tests.
use_autoconf        yes

destroot.destdir    INSTALL_ROOT=${destroot}
