[MacPorts] #49102: autojump @21.5.8: checksum mismatch
MacPorts
noreply at macports.org
Mon Oct 5 02:40:48 PDT 2015
#49102: autojump @21.5.8: checksum mismatch
---------------------------+---------------------------
Reporter: ryandesign@… | Owner: johnny.kuan@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch
Port: autojump |
---------------------------+---------------------------
Changes (by ryandesign@…):
* keywords: => haspatch
Comment:
Johnny Kuan sent the following reply by email:
> I don't currently have access to computer with macports installed. The
following should work, but it hasn't been tested:
>
> {{{
> PortSystem 1.0
> PortGroup github 1.0
>
> github.setup wting autojump 22.2.4 release-v
> categories sysutils
> platforms darwin
> maintainers nomaintainer
> license GPL-3+
> supported_archs noarch
>
> description a cd command that learns
>
> long_description ${name} is ${description}.
>
> checksums rmd160 b6a285644cb77d9bea61cc587fdff26524548003\
> sha256
24f356a64b64708b7a34d65f210b01036b56342f5a3e56ee329e86ba897f1399
>
> depends_run port:python27
>
> post-patch {
> reinplace "s:/etc/profile.d:${prefix}/etc/profile.d:g"
${worksrcpath}/bin/autojump.sh
> reinplace "s:/usr/bin/env python:${prefix}/bin/python2.7:g"
${worksrcpath}/bin/autojump
> }
>
> use_configure no
>
> build {}
>
> destroot {
> xinstall -m 755 -W ${worksrcpath}/bin autojump
${destroot}${prefix}/bin/
> xinstall -m 755 -W ${worksrcpath}/docs autojump.1
${destroot}${prefix}/share/man/man1/
> xinstall -d ${destroot}${prefix}/etc/profile.d/
> xinstall -m 644 -W ${worksrcpath}/bin autojump.sh autojump.bash
autojump.zsh ${destroot}${prefix}/etc/profile.d/
> xinstall -d ${destroot}${prefix}/share/zsh/site-functions/
> xinstall -m 644 -W ${worksrcpath}/bin _j
${destroot}${prefix}/share/zsh/site-functions/
> }
>
> notes "
> To use autojump for bash, add the following to the end of your
.bash_profile:
>
> if \[ -f ${prefix}/etc/profile.d/autojump.bash \]; then
> . ${prefix}/etc/profile.d/autojump.bash
> fi
>
> To use autojump for zsh, add the following to the end of your .zshrc:
>
> export FPATH=\"\$FPATH:${prefix}/share/zsh/site-functions/\"
> if \[ -f ${prefix}/etc/profile.d/autojump.zsh \]; then
> . ${prefix}/etc/profile.d/autojump.zsh
> fi
>
> To use zsh tab completion, load compinit in your .zshrc:
>
> autoload -U compinit; compinit
> "
> }}}
--
Ticket URL: <https://trac.macports.org/ticket/49102#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list