# -*- 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 cmake 1.0 PortGroup github 1.0 name SDL3-devel github.setup libsdl-org SDL 3.1.2 prerelease- categories devel multimedia license zlib maintainers {jmr @jmroot} description Cross-platform multi-media development API (prerelease) long_description \ Simple DirectMedia Layer is a cross-platform development library \ designed to provide low level access to audio, keyboard, mouse, \ joystick, and graphics hardware. This is a preview of the new \ version 3.0 API. homepage https://www.libsdl.org/ github.tarball_from releases distname SDL3-${version} use_xz yes checksums rmd160 6d954b838a85c330e07d8b0a0a147a087c572cdb \ sha256 99a9e84b4d5afd68d423d364fdd03592efa7658208cddf3f846dbeb707569ecc depends_lib port:libiconv cmake.out_of_source yes post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} BUGS.txt CREDITS.md \ README-SDL.txt WhatsNew.txt \ {*}[glob ${worksrcpath}/docs/*.md] ${destroot}${docdir} }