# -*- 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
checksums rmd160 98bf278474dcf200eb80596d54cd26fa900cdb2a \
sha256 23912ec8c9584917ed9b09c5023465d71709dce089be503c7867fec68a93bcd7 \
set branch [join [lrange [split ${version} .] 0 1] ""]
maintainers {ryandesign @ryandesign}
platforms darwin openbsd freebsd sunos linux
homepage http://www.libpng.org/pub/png/libpng.html
description Library for manipulating PNG images
long_description Libpng was written as a companion to the PNG \
specification, as a way to reduce the amount of time \
and effort it takes to support the PNG file format in \
application programs. Most users will not have to \
modify the library significantly, advanced users may \
want to modify it more. The library was coded for \
both users. All attempts were made to make it as \
complete as possible, while keeping the code easy to \
understand. Currently, this library only supports C. \
Support for other languages is being considered.
master_sites sourceforge:project/${name}/${name}${branch}/${version} \
ftp://ftp.simplesystems.org/pub/libpng/png/src/${name}${branch}/
patchfiles-append libpng.pc.in.patch
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}/examples
xinstall -m 0644 -W ${worksrcpath} \
xinstall -m 0644 ${worksrcpath}/example.c ${destroot}${docdir}/examples
livecheck.regex {Current.+?(?:version|release).+?<B>(?:libpng )?([0-9.]+)</B>}