# -*- 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.45
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Curses - terminal screen handling and optimization
long_description    Curses is the interface between Perl and your system's curses(3) library.\
                    For descriptions on the usage of a given function, variable, or constant,\
                    consult your system's documentation, as such information invariably varies\
                    (:-) between different curses(3) libraries and operating systems.

checksums           rmd160  57958968caffba5e4376dcb4156c1153b8d8fa31 \
                    sha256  84221e0013a2d64a0bae6a32bb44b1ae5734d2cb0465fb89af3e3abd6e05aeb2 \
                    size    140041

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
}
