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

github.setup        ishanawal TermMark 1.0.0 v
revision            0
categories          textproc editors
license             MIT
maintainers         nomaintainer
description         Light-weight, C++-based terminal Markdown renderer
long_description    {*}${description}
checksums           rmd160  f5f406c5f1059e96956a73ddbd86337acafc0db4 \
                    sha256  525193e4dce145df0ac638500883ccc6d272651b5cac2d321ef9da778cbf82f3 \
                    size    2013193
github.tarball_from archive

compiler.cxx_standard 2017

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