# -*- 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-sdl-ffi
ruby.branches       3.3 3.2 3.1
ruby.setup          ruby-sdl-ffi 0.4 gem {} rubygems
categories-append   devel
license             Ruby
maintainers         nomaintainer
platforms           any
description         Ruby-FFI binding to SDL 1.x multimedia libraries
long_description    {*}${description}
homepage            https://github.com/jacius/ruby-sdl-ffi
checksums           rmd160  5382b6be6cee93e28d30ba53b5d52f7520ba93fe \
                    sha256  ecb098158c60543d387dd17d270354a6309bfc1d7f89c87a010c6653de3a3b7a \
                    size    34816
supported_archs     noarch

if {${name} ne ${subport}} {
    depends_run-append \
                    port:libsdl \
                    port:libsdl_gfx \
                    port:libsdl_image \
                    port:libsdl_mixer \
                    port:libsdl_ttf \
                    port:rb${ruby.suffix}-nice-ffi
}