# -*- 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.4 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  c033d6a1574a79f2b215124221c93610ed61ba07 \
                    sha256  a360d7aef049b3a60343b086d47f3cdd5b4dd7b4b0e621b3eaceb94fd379c903 \
                    size    524800

depends_lib-append  port:ncurses

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