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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Curses 1.46 ../../authors/id/G/GI/GIRAFFED
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Curses - terminal screen handling and optimization
long_description    {*}${description}

checksums           rmd160  2407f0d81a0564f4d698b04807446300c868b082 \
                    sha256  9631d6e3e2859c85913d8b8724f61fbebb9e932e9e50aa0493a4e0276660a3f9 \
                    size    140289

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:ncurses

    pre-configure {
        copy ${worksrcpath}/hints/c-freebsd.ncurses.h ${worksrcpath}/c-config.h
    }

    configure.pre_args-append PANELS MENUS FORMS
}
