# -*- 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          curses 1.4.7 gem {} rubygems
license             BSD
categories-append   devel
maintainers         nomaintainer
description         Ruby binding for curses, ncurses and PDCurses
long_description    {*}${description}. Formerly part of the Ruby standard library.
homepage            https://github.com/ruby/curses
checksums           rmd160  5ee16ddabc910f0480ef64c030d894eb04dadb3e \
                    sha256  1e9c03519f709d76d0cd4a00fe237ba7f2bafe530e5825163e068bdac4648a7b \
                    size    525824

depends_lib-append  port:ncurses

destroot.post_args-append -- \
                    --use-system-libraries \
                    --with-ncurses-dir=${prefix}/lib
