# -*- 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 PortGroup select 1.0 perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.28 5.30 5.32 5.34 perl5.default_branch 5.34 perl5.create_variants ${perl5.branches} name fsdb perl5.setup Fsdb 3.4 ../../authors/id/J/JO/JOHNH revision 0 epoch 1 checksums rmd160 dd085c758ec130d7e249d28107faf0451c389764 \ sha256 e2ad86762563093d3c44c6241862f92f1b20ad4dddb4d225f694af52e07e161f \ size 529611 categories-append textproc platforms {darwin any} supported_archs noarch license GPL-2 maintainers {isi.edu:calvin @cardi} openmaintainer description A flat-text database for shell scripting long_description Fsdb, the flatfile streaming database, is a \ package of commands for manipulating flat-ASCII \ databases from shell scripts. Fsdb is useful to \ process medium amounts of data (with very little \ data you’d do it by hand, with megabytes you \ might want a real database). depends_lib-append port:gzip \ port:p${perl5.major}-html-parser \ port:p${perl5.major}-io-compress \ port:p${perl5.major}-io-compress-lzma \ port:p${perl5.major}-test-pod \ port:p${perl5.major}-test-pod-coverage \ port:p${perl5.major}-test-simple \ port:p${perl5.major}-text-csv_xs \ port:p${perl5.major}-xml-simple \ port:p${perl5.major}-yaml-libyaml if {${perl5.major} > 5.30} { depends_lib-append \ port:p${perl5.major}-pod-parser } if {${os.major} > 12} { # macOS Ventura and later (13+) do not have groff # by default depends_lib-append \ port:groff } depends_run-append port:fsdb_select select.group fsdb select.file ${filespath}/fsdb-${perl5.major} notes " To make the Perl ${perl5.major} version of fsdb the one that is run\ when you execute the commands without a version suffix, e.g.\ 'dbcol', run: port select --set ${select.group} [file tail ${select.file}] "