# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
categories devel graphics
maintainers {jmr @jmroot} openmaintainer
description Add on library for libSDL handling several image formats
This is a simple library to load images of various formats as SDL surfaces. \
This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
homepage http://www.libsdl.org/projects/SDL_image/
master_sites ${homepage}release/
distname ${my_name}-${version}
checksums rmd160 e876034e5d2f3f12940b6edeab91746bd48228f3 \
sha256 bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0
depends_build port:pkgconfig
depends_lib port:libsdl2 \
configure.args --disable-sdltest \
compiler.blacklist *gcc* { clang < 211 }
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CHANGES.txt COPYING.txt README.txt \
livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)