# -*- 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

github.setup        artempyanykh marksman 2023-12-09
github.tarball_from releases
revision            0

categories          devel
license             MIT
maintainers         {judaew @judaew} openmaintainer

description         Write Markdown with code assist and intelligence in the \
                    comfort of your favourite editor
long_description    \
    Marksman is a program that integrates with your editor to assist you in \
    writing and maintaining your Markdown documents. Using LSP protocol it \
    provides completion, goto definition, find references, rename refactoring, \
    diagnostics, and more. In addition to regular Markdown, it also supports \
    wiki-link-style references that enable Zettelkasten-like1, 2 note taking.

distfiles           marksman-macos
checksums           rmd160  7cb2d1d760ffa10a0c36e41bd255f625b11cc508 \
                    sha256  ff006163615312703431584b7f32af4eb6ae2537e907ed2ca93c50d489cb8373 \
                    size    41041472

extract.mkdir       yes

extract {
    copy ${distpath}/marksman-macos ${worksrcpath}/marksman-macos
}

use_configure       no
build {}

destroot {
    xinstall -m 0755 ${worksrcpath}/marksman-macos \
        ${destroot}${prefix}/bin/marksman
}
