Files
Joshua Root 02ae60ce68 ruby/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-27 04:43:39 +11:00

42 lines
1.3 KiB
Tcl

# -*- 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
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
categories ruby
license MIT
platforms any
supported_archs noarch
maintainers {catlett.info:chad @chadcatlett} \
{hotmail.com:franklinyu @FranklinYu} \
openmaintainer
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
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
"