# -*- 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 asdf-vm asdf 0.14.0 v github.tarball_from archive revision 0 categories sysutils devel installs_libs no license MIT platforms any supported_archs noarch maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer description Extendable version manager with support for Ruby, Node.js, \ Elixir, Erlang & more long_description ${name} is a CLI tool that can manage multiple language \ runtime versions on a per-project basis. homepage https://asdf-vm.com/ checksums rmd160 6c9fff0aa173b65ff8e64e0da8b5b9e682d9bf83 \ sha256 8bca30e01e7fdb71d93fe7bc6efc80bfa41f27a3ff584d184138817962be8058 \ size 194950 use_configure no build {} depends_run bin:curl:curl \ bin:git:git destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/${name} copy {*}[glob ${worksrcpath}/*] ${destroot}${prefix}/share/${name} touch ${destroot}${prefix}/share/${name}/asdf_updates_disabled set asdf_share_dir ${prefix}/share/${name} # Bash completions xinstall -d ${destroot}${prefix}/share/bash-completion/completions ln -s ${asdf_share_dir}/completions/${name}.bash \ ${destroot}${prefix}/share/bash-completion/completions/${name} # Zsh completions xinstall -d ${destroot}${prefix}/share/zsh/site-functions ln -s ${asdf_share_dir}/completions/_${name} \ ${destroot}${prefix}/share/zsh/site-functions/_${name} # Fish completions xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d ln -s ${asdf_share_dir}/completions/${name}.fish \ ${destroot}${prefix}/share/fish/vendor_completions.d/${name}.fish } notes " Activate asdf by adding it to your shell profile. Zsh or Bash: Add the following line to ~/.zshrc or ~/.bashrc . ${prefix}/share/${name}/asdf.sh Fish: Add the following line to ~/.config/fish/config.fish source ${prefix}/share/${name}/asdf.fish "