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

github.setup        eklitzke demangle dc2d82d0b282cd1fad6870ff64edd5b3657846fc
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20160204
revision            1

categories          devel
license             GPL-3+
maintainers         nomaintainer

description         Tool to demangle C++ symbols.
long_description    This is a tool to help you demangle C++ symbols. \
                    These are symbols that you might see while looking \
                    at GDB backtraces, or perhaps as a result of looking \
                    at the symbol table from nm, objdump, etc.

checksums           rmd160  447c8800fe32be15bdf96cb1f1f9469f5cce459a \
                    sha256  97910ba2796d0fbbfae94fa2526c497e27e986474ad40b4f3e1d87642258d864 \
                    size    14843

use_autoreconf      yes

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}/
    xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.md \
        ${destroot}${prefix}/share/doc/${name}/
}
