# -*- 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 golang 1.0 go.setup github.com/lima-vm/lima 0.22.0 v go.offline_build no github.tarball_from archive revision 0 homepage https://lima-vm.io description Linux virtual machines long_description {*}{ Lima launches Linux virtual machines with automatic file sharing and port forwarding (similar to WSL2). The original goal of Lima was to promote containerd including nerdctl (contaiNERD ctl) to Mac users, but Lima can be used for non-container applications as well. Lima also supports other container engines, such as Docker, Podman, Kubernetes, etc. } categories sysutils installs_libs no license Apache-2 maintainers {gmail.com:herby.gillot @herbygillot} \ {macports.halostatue.ca:austin @halostatue} \ openmaintainer depends_run port:qemu checksums rmd160 a24c3a0a5623b2b759dec8dbe7ef5a0d2892af7b \ sha256 9ea5b439cf71bb8fc4d831c3a71540baaa4c4420152addf1e32de57a4dc8af96 \ size 6103965 build.cmd make patchfiles patch-Makefile.diff \ patch-main.diff post-patch { reinplace "s|@@VERSION@@|${version}|g" ${worksrcpath}/Makefile } destroot { system -W ${worksrcpath} "make install DEST=${destroot}${prefix}" # install completion for various shells set bash_completions_dir ${destroot}${prefix}/share/bash-completion/completions set fish_completions_dir ${destroot}${prefix}/share/fish/vendor_completions.d set zsh_completions_dir ${destroot}${prefix}/share/zsh/site-functions xinstall -d ${bash_completions_dir} ${fish_completions_dir} ${zsh_completions_dir} system " ${destroot}${prefix}/bin/limactl completion bash \ > ${bash_completions_dir}/${name} ${destroot}${prefix}/bin/limactl completion fish \ > ${fish_completions_dir}/${name}.fish ${destroot}${prefix}/bin/limactl completion zsh \ > ${zsh_completions_dir}/_${name} " } github.livecheck.regex {([0-9.]+)}