# -*- 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
PortGroup               makefile 1.0

github.setup            hqwrong minitox 20d96854f9b65ada7d658282167bc949bdcf1e5d
version                 20181123
revision                0
categories              net chat p2p security
maintainers             nomaintainer
license                 MIT
description             Minimal client for Tox
long_description        {*}${description}
checksums               rmd160  a439dd2e0f8b8a2fed7d275bc82902456304d014 \
                        sha256  9a214f4dec2ad7e18604f25fa32ca33459e4c83e7058836568db4ae5c2803613 \
                        size    124967
github.tarball_from     archive

depends_lib             port:toxcore

build.target            ${name}

destroot {
    copy ${worksrcpath}/${name} ${destroot}${prefix}/bin/
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir}
}
