Files

42 lines
1.3 KiB
Tcl
Raw Permalink Normal View History

2020-04-23 14:00:13 -06:00
# -*- 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 postmodern chruby 0.3.9 v
2025-01-27 04:43:39 +11:00
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
2020-04-23 14:00:13 -06:00
revision 0
categories ruby
license MIT
2022-12-14 02:45:07 +11:00
platforms any
2020-04-23 14:00:13 -06:00
supported_archs noarch
maintainers {catlett.info:chad @chadcatlett} \
{hotmail.com:franklinyu @FranklinYu} \
openmaintainer
2020-04-23 14:00:13 -06:00
description Ruby version changer
long_description chruby changes the current Ruby version. It supports bash \
and zsh.
checksums rmd160 8db66e0e2e29698ee048d1580a337ff60b998f26 \
sha256 5bc542aa03732abec8a6872c9aca003728629f4e2b0ec01062689a4023c6c24c \
size 20925
use_configure no
build {}
# remove this in next release
2020-04-23 14:00:13 -06:00
destroot.destdir PREFIX=${destroot}${prefix}
notes "
Add the following to the ~/.bash_profile or ~/.zshrc file:
source ${prefix}/share/chruby/chruby.sh
To enable auto-switching of Rubies specified by .ruby-version files,\
add the following to ~/.bash_profile or ~/.zshrc:
source ${prefix}/share/chruby/auto.sh
"