# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                pngpp
version             0.2.10
revision            0
categories          graphics
platforms           any
supported_archs     noarch
maintainers         nomaintainer
description         A simplified input/output library for PNG files
long_description \
    pngpp provides a C++ wrapper for the libpng that greatly simplifies the \
    reading and writing PNG files

homepage            https://www.nongnu.org/pngpp/
master_sites        savannah
distname            png++-${version}
checksums           rmd160  4c169ab66dfd57464617924265a8008a26c89f2e \
                    sha256  998af216ab16ebb88543fbaa2dbb9175855e944775b66f2996fc945c8444eee1 \
                    size    592203

depends_lib         port:libpng

use_configure       no
build               {}
destroot.env        PREFIX=${destroot}${prefix}
destroot.target     install-headers

livecheck.url       https://download-mirror.savannah.gnu.org/releases/${name}/
livecheck.regex     png\\+\\+-(\[0-9.\]+)${extract.suffix}
