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

name                bashdb
version             5.2-1.2.0
revision            0
categories          devel
license             GPL-2
maintainers         nomaintainer

description         Debugger for scripts written in BASH
long_description    bashdb is a script debugger for BASH that follows \
                    the GNU Project Debugger (GDB) command syntax. \
                    bashdb can run your script, stop it on specified \
                    conditions, help you examine what has happened when \
                    it has stopped, and allow you to modify parts of \
                    your script so that you can experiment with your \
                    code and fix problems once they are identified.
homepage            https://bashdb.sourceforge.net

depends_lib         port:bash

master_sites        sourceforge:project/bashdb/${name}/${version}
use_bzip2           yes
checksums           rmd160  eb7a65260f7aaf2c2e13a2cfba338ed5c3af9881 \
                    sha256  96fe0c8ffc12bc478c9dc41bb349ae85135da71b692069b8b7f62b27967ce534 \
                    size    603654

test.run            yes
test.target         check

livecheck.regex     {/bashdb/(\d+(?:\.\d+)+-\d+(?:\.\d+)+)/}
