# -*- 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 PortGroup cmake 1.1 github.setup neovim neovim 0.10.4 v revision 0 categories editors maintainers {l2dy @l2dy} \ {judaew @judaew} \ openmaintainer license Apache-2 Vim GPL-2+ conflicts neovim-devel description Neovim is a aggressively refactored fork of Vim long_description \ Neovim is a project that seeks to aggressively refactor Vim. It already adds \ a new plugin architecture, job control, and a remote API. homepage https://neovim.io github.tarball_from archive checksums rmd160 c5817b0b1c0ec7a82682d84f34453cf6443bc8e4 \ sha256 10413265a915133f8a853dc757571334ada6e4f0aa15f4c4cc8cc48341186ca2 \ size 12808381 depends_build-append port:pkgconfig depends_lib port:gettext \ port:libuv \ port:libvterm \ port:unibilium \ port:msgpack \ path:lib/libluajit-5.1.2.dylib:luajit \ port:lua51-lpeg \ port:luv-luajit \ port:libiconv \ port:tree-sitter cmake.build_type Release configure.args-append -DLUA_PRG=${prefix}/bin/luajit patch.pre_args-replace -p0 -p1 # Building parsers is normally an extra step, see https://github.com/neovim/neovim/issues/29042 patchfiles 0001-build-and-install-tree-sitter-parsers.patch \ 0002-include-lua51-headers-to-build-properly.patch post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/CMakeLists.txt } subport neovim-devel { github.setup neovim neovim a2b464944a4eb391fe6213304a4df5677845b52c version 20250226-[string range ${github.version} 0 6] revision 0 github.tarball_from tarball checksums rmd160 470c893ebb6cc91104d10ccaf8713fc0ee085604 \ sha256 f462eff2d0f32193ee353c394f42ff1caf3bb1079348bde6fbe82b05d7f76923 \ size 12853137 conflicts neovim depends_lib-delete \ port:libvterm \ port:msgpack depends_lib-append \ port:libutf8proc post-patch { # workaround for https://github.com/neovim/neovim/pull/30749 reinplace "s|lpeg.so lpeg\${CMAKE_SHARED_LIBRARY_SUFFIX}|lpeg\${CMAKE_SHARED_LIBRARY_SUFFIX} lpeg.so|g" ${worksrcpath}/cmake/FindLpeg.cmake } livecheck.url ${github.homepage}/commits/nightly.atom } notes { If you want to share your existing Vim configuration with Neovim, you can add these symlinks: ln -s ~/.vim ~/.config/nvim ln -s ~/.vimrc ~/.config/nvim/init.vim For possible incompatible changes and differences to Vim check ':help nvim-intro' in nvim. }