# -*- 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         DBM-Deep 2.0019
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         A pure perl persistent multi-level hash/array DBM

long_description    A unique flat-file database module, written in pure perl. True multi-level \
                    hash/array support (unlike MLDBM, which is faked), hybrid OO / tie() \
                    interface, cross-platform FTPable files, and quite fast. Can handle \
                    millions of keys and unlimited hash levels without significant slow-down. \
                    Written from the ground-up in pure perl -- this is NOT a wrapper around a \
                    C-based DBM.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  227d8832a023f46f752162607b58726de8a58c2e \
                    sha256  5d61a5e6b4e4afc16d33e5290d5248b04a4fc4ee4c0a7dfc7fdd625968fba340 \
                    size    181482

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-deep \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-warn

    depends_lib-append \
                    port:p${perl5.major}-dbi \
                    port:p${perl5.major}-dbd-sqlite

    perl5.use_module_build
}
