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

name                rb-sdl2
ruby.branches       3.3 3.2 3.1
ruby.setup          ruby-sdl2 0.3.6 gem {} rubygems
categories-append   devel
license             LGPL-3
maintainers         nomaintainer
description         Ruby wrapper for SDL 2.x
long_description    {*}${description}
homepage            https://github.com/ohai/ruby-sdl2
checksums           rmd160  93fcd0ee341fd76efc773d6d7f4c8750774dce8e \
                    sha256  993d1223f03ebb8143d6a981c23913182c57364a4ea4a41db1c194bacc49e780 \
                    size    156672

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:libsdl2 \
                    port:libsdl2_gfx \
                    port:libsdl2_image \
                    port:libsdl2_mixer \
                    port:libsdl2_ttf
}
