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

github.setup        Doctave doctave 0.4.2
github.tarball_from archive
revision            0

description         \
    A batteries-included developer documentation site generator.

long_description    \
    Doctave is an opinionated documentation site generator that converts your \
    Markdown files into a beautiful documentation site with minimal effort.  \
    Doctave is not a generic static site generator - it is only meant for \
    generating documentation sites from Markdown. This allows the tool to be \
    much simpler than other solutions, with fewer configuration steps.

categories          devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  7e959a8013d3675b7c3e1c45cf444a5a82d99ee3 \
                    sha256  8994529738ec9b39d35f916a081f021e481f068546512813e41af8337a4eab97 \
                    size    1781099

build.pre_args      --release -v -j${build.jobs}

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
