# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0
PortGroup           github 1.0

github.setup        rocky zshdb 0.92 release-

maintainers         g5pw openmaintainer

categories          devel
license             GPL-2+

description         GDB-like debugger for zsh scripts.
long_description    ${description} Zshdb 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.

platforms           darwin
supported_archs     noarch

depends_lib         port:zsh

checksums           rmd160  bcf5317b33ec7026a91261fd2fa76d9b2397f0a3 \
                    sha256  bc583778abfbfcb5fceb93e8635a9f473b2fc6ba6a7e22bee0c58e02977acb69

use_autoreconf      yes

post-patch {
    # Well, they to it in the autogen.sh, so there's probably a good reason, no?
    file copy ${worksrcpath}/README.md ${worksrcpath}/README
}