# -*- 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 # $Id$ PortSystem 1.0 name libsdl2_image set my_name SDL2_image version 2.0.0 revision 1 categories devel graphics platforms darwin license zlib maintainers jmr openmaintainer description Add on library for libSDL handling several image formats long_description \ 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 1bd3e383bada30852fe1bcc4ac1f5d144a9158ca \ sha256 b29815c73b17633baca9f07113e8ac476ae66412dec0d29a5045825c27a47234 depends_build port:pkgconfig depends_lib port:libsdl2 \ port:libpng \ port:jpeg \ port:tiff \ port:zlib platform darwin { patchfiles Makefile.in-lobjc.patch } configure.args --disable-sdltest \ --enable-jpg-shared=false \ --enable-png-shared=false \ --enable-tif-shared=false post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} CHANGES.txt COPYING.txt README.txt \ ${destroot}${docdir} } livecheck.type regex livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)