# -*- 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

PortSystem          1.0
PortGroup           github  1.0
PortGroup           cmake   1.1

github.setup        raysan5 raylib 6.0
github.tarball_from archive
revision            0

homepage            https://www.raylib.com

description         A simple and easy-to-use library to enjoy videogames \
                    programming

long_description    {*}${description}. raylib is highly inspired by the \
                    Borland BGI graphics lib and the XNA framework and it's \
                    specially well suited for prototyping, tooling, graphical \
                    applications, embedded systems and education.

categories          multimedia devel
license             zlib
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  eb646b05e5ccdc4203214c40668b774cb0593ae5 \
                    sha256  2b3ee1e2120c7a0796b33062c7e9a694dd8a8caa56a96319ac8c8ecf54a90d0b \
                    size    52545040

depends_lib-append  port:glfw \
                    port:pkgconfig

cmake.build_type    Release

configure.args-append \
                    -DBUILD_EXAMPLES=OFF \
                    -DBUILD_SHARED_LIBS:BOOL=ON \
                    -DPLATFORM=Desktop \
                    -DUSE_EXTERNAL_GLFW=ON
