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

PortSystem          1.0
PortGroup           github 1.0

github.setup        visit1985 mdp 1.0.15
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
maintainers         nomaintainer
categories          office
description         A command-line based markdown presentation tool.
long_description    {*}${description}
license             GPL-3

depends_lib         port:ncurses

checksums           rmd160  a24f30d8b6d02ced147b9a2f60479a977a25a0d1 \
                    sha256  99b90368019f89a3df134da82df55b3cb5b452786a70a7b6d7bda57ad64a3673 \
                    size 37744

use_configure       no

build.args-append   CC="${configure.cc} [get_canonical_archflags cc]"

destroot {
    xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
    xinstall -m 644 -W ${worksrcpath} ${name}.1 ${destroot}${prefix}/share/man/man1/
}
