Files

39 lines
1.3 KiB
Tcl

# -*- 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 YottaYocta TermME 1.1.3 v
categories editors
license MIT
maintainers nomaintainer
description Markdown note-taking program for the terminal
long_description {*}${description}
checksums rmd160 d8e8d95802fa4b731ba1fd09548d9e2afb8ee020 \
sha256 5a8ee05c6db1ba486c1da72a3d40a9cf176ed8aadadafb9a0dfc86f2e64d4ba3 \
size 6577
github.tarball_from archive
set libfmt_ver 10
cmake.prefix_path-append \
${prefix}/lib/libfmt${libfmt_ver}/cmake
depends_lib-append port:FTXUI \
port:libfmt${libfmt_ver}
patchfiles-append patch-CMakeLists.diff
compiler.cxx_standard 2020
destroot {
copy ${cmake.build_dir}/${name} ${destroot}${prefix}/bin
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir}
}
# FIXME: on Big-endian it builds, but text input is broken:
# https://github.com/YottaYocta/TermME/issues/9