# -*- 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 BrianAnakPintar step-writer 15b02568f7ec731215eb717b076a77f61e6e080a version 2024.11.16 revision 0 categories editors license MIT maintainers nomaintainer description Lightweight & simple TUI text editor long_description {*}${description} written in C++. checksums rmd160 5fda1b912f6fd64a5549527ff50a229438bd3c1d \ sha256 faa3470e81de0f7ed16faddf10560689d340cad07bcd9f325a8c32f0e2cccc26 \ size 21276422 github.tarball_from archive depends_build-append \ path:bin/pkg-config:pkgconfig depends_lib-append port:FTXUI \ port:tree-sitter \ port:tree-sitter-cpp # Due to: https://trac.macports.org/ticket/71325 patchfiles-append patch-CMakeLists.diff compiler.cxx_standard 2020 configure.args-append \ -DBUILD_TESTS=OFF \ -DUSE_BUNDLED_LIBS=OFF destroot { system "install_name_tool -change libtree-sitter-cpp.dylib \ ${prefix}/lib/libtree-sitter-cpp.dylib ${cmake.build_dir}/${name}" 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} }