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

ruby.branches       3.3 3.2 3.1
ruby.setup          rubydraw 0.3.2.5 gem {} rubygems
categories-append   devel graphics
license             Ruby
maintainers         nomaintainer
platforms           any
description         Rubydraw is a high-level game/graphics library
long_description    {*}${description}
homepage            https://github.com/awostenberg/rubydraw
checksums           rmd160  b166840d84856500ab0f3cbb94860f92c69ab3db \
                    sha256  d0ff3d0e386e034e342a8eae3da40a9dff8453c931afc8bf022b5b6de10bff15 \
                    size    2498048
supported_archs     noarch

if {${name} ne ${subport}} {
    depends_run-append \
                    port:rb${ruby.suffix}-2darray \
                    port:rb${ruby.suffix}-sdl-ffi
}
