# -*- 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
PortGroup           makefile    1.0

github.setup        foobaz pngloss 1.0 v
github.tarball_from archive
revision            1

description         Lossy compression of PNG images

long_description    \
    Lossily compress your PNG images with pngloss. The program reads the \
    original PNG file and modifies the pixels to make them more compressible. \
    The resulting PNGs are fully backwards compatible with existing PNG \
    decoders. The compression technique relies on making small adjustments to \
    pixel colors. It works best on true-color images with a wide variety of \
    colors, like photographs or computer generated graphics with realistic \
    lighting. It does not do a good job on paletted images or images with \
    large areas of flat color.

categories          graphics
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  e87c09329c8eeb702e05381368e1c59b8eb29d55 \
                    sha256  24c5c3d176b299a3787fb019f668808ff54a75f236fb5e65ad87ecf499e26f77 \
                    size    3108037

patchfiles-append   patch-Makefile.diff

depends_lib-append  port:libpng

build.target        ${name}

compiler.c_standard 1999