Changeset 147483 for trunk/dports/ruby


Ignore:
Timestamp:
Apr 5, 2016, 1:32:58 PM (4 years ago)
Author:
mojca@…
Message:

rbenv: upgrade to v1.0.0, take over maintenance

Location:
trunk/dports/ruby/rbenv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/ruby/rbenv/Portfile

    r140661 r147483  
    55PortGroup           github 1.0
    66
    7 github.setup        sstephenson rbenv 0.4.0 v
    8 revision            1
     7github.setup        rbenv rbenv 1.0.0 v
    98license             MIT
    109platforms           darwin
    1110supported_archs     noarch
    1211
    13 maintainers         nomaintainer
     12maintainers         mojca openmaintainer
    1413
    1514description         Simple Ruby Version Management
    1615long_description    ${description}
    1716
    18 checksums           rmd160  1201f1072c63464ffa829d332c363ddc0d2ef1b6 \
    19                     sha256  e9b54d2d3669e52aed439094fa92aab36d826573e1a4f8dd65241406204a3e23
     17checksums           rmd160  602fc2c045520e65c1bc4175c81bee13dd4446b4 \
     18                    sha256  a5b2ee98492af7195539d3f05791c9ec7c11bed269d5bfba3ba9dbeb2d97dd40
     19
     20worksrcdir          rbenv-rbenv-3997a39
    2021
    2122patchfiles          patch-libexec-rbenv-init.diff
  • trunk/dports/ruby/rbenv/files/patch-libexec-rbenv-init.diff

    r140661 r147483  
    66--- libexec/rbenv-init.orig
    77+++ libexec/rbenv-init
    8 @@ -76,8 +76,11 @@ mkdir -p "${RBENV_ROOT}/"{shims,versions}
    9  echo 'export PATH="'${RBENV_ROOT}'/shims:${PATH}"'
     8@@ -95,13 +95,15 @@ fish )
     9 ;;
     10 esac
    1011 
    11  case "$shell" in
    12 -bash | zsh )
    13 -  echo "source \"$root/completions/rbenv.${shell}\""
     12-completion="${root}/completions/rbenv.${shell}"
     13-if [ -r "$completion" ]; then
     14-  case "$shell" in
     15-  fish ) echo ". '$completion'" ;;
     16-  *    ) echo "source '$completion'" ;;
     17-  esac
     18-fi
     19+case "$shell" in
    1420+bash )
    1521+  echo "source \"$root/etc/bash_completion.d/rbenv\""
     
    1723+zsh )
    1824+  echo "source \"$root/share/zsh/site-functions/rbenv.zsh_completion\""
    19    ;;
    20  esac
     25+  ;;
     26+# support for fish and other shells missing
     27+esac
    2128 
     29 if [ -z "$no_rehash" ]; then
     30   echo 'command rbenv rehash 2>/dev/null'
Note: See TracChangeset for help on using the changeset viewer.