# -*- 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 5.5
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  72f0526a0f9579508a64b4a93c4fd22b96e0f020 \
                    sha256  aea98ecf5bc5c5e0b789a76de0083a21a70457050ea4cc2aec7566935f5e258e \
                    size    42278112

patchfiles          patch-glfw-passthrough.diff

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
