# -*- 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.18
github.tarball_from archive
maintainers         nomaintainer
categories          office
description         A command-line based markdown presentation tool.
long_description    {*}${description}
license             GPL-3

depends_lib         port:ncurses

checksums           rmd160  7d1ea14ebb1a308e3a97de9925415b2089ea45e0 \
                    sha256  36861161513c508c0589014510cdafd940a6e661e517022a3bea48ecf8d5fac4 \
                    size    39907

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/
}
