Ticket #39001: autojump-21.5.8.patch

File autojump-21.5.8.patch, 1.7 KB (added by johnny.kuan@…, 12 years ago)
  • sysutils/autojump/Portfile

    diff --git a/sysutils/autojump/Portfile b/sysutils/autojump/Portfile
    index 467fa86..727c637 100644
    a b  
    44PortSystem          1.0
    55PortGroup           github 1.0
    66
    7 github.setup        joelthelion autojump 21.5.1 "release-v"
     7github.setup        joelthelion autojump 21.5.8 "release-v"
    88categories          sysutils
    99platforms           darwin
    1010maintainers         gmail.com:johnny.kuan
    description a cd command that learns 
    1515
    1616long_description    ${name} is ${description}.
    1717
    18 checksums           rmd160  262d5ae1c16f0f3b81894b2ea0811abd8b05edbb \
    19                     sha256  53f3f71c3217f26945c264cdf9b7d3e5cdeb0b62bef8ded367240d375d6d83c4
     18checksums           rmd160  aec113b3663da4c420ceb3efaa54394f80dcbb03 \
     19                    sha256  e70973cd4624398f186da112459b30e2430f2144f6f0535d06d219e502d22bbe
    2020
    2121depends_run         port:python27
    2222
    destroot { 
    4040
    4141notes "
    4242To use autojump for bash, add the following to the end of your .bash_profile:
    43 if \[ -f ${prefix}/etc/profile.d/autojump.sh \]; then
    44     . ${prefix}/etc/profile.d/autojump.sh
     43if \[ -f ${prefix}/etc/profile.d/autojump.bash \]; then
     44    . ${prefix}/etc/profile.d/autojump.bash
    4545fi
    4646
    4747To use autojump for zsh, add the following to the end of your .zshrc:
    4848export FPATH=\"\$FPATH:${prefix}/share/zsh/site-functions/\"
    49 if \[ -f ${prefix}/etc/profile.d/autojump.sh \]; then
    50     . ${prefix}/etc/profile.d/autojump.sh
     49if \[ -f ${prefix}/etc/profile.d/autojump.zsh \]; then
     50    . ${prefix}/etc/profile.d/autojump.zsh
    5151fi
    5252To use zsh tab completion, load compinit in your .zshrc:
    5353autoload -U compinit; compinit