# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup wting autojump 22.5.0 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 d2bd4be97b81505ee05f6f7aaa33c42cbefee375 \ sha256 50858806a51ee9ba109d34fbdecc5ebdeb70fcd0b0eeb4a3c4403c496475f3f7 depends_run port:python27 post-patch { reinplace "s:/usr/bin/env python:${prefix}/bin/python2.7:g" ${worksrcpath}/bin/autojump } use_configure no build {} destroot.cmd ${prefix}/bin/python2.7 destroot.args install.py --force destroot.target {} destroot.destdir --destdir=${destroot}${prefix} --zshshare=${destroot}${prefix}/share/zsh/site-functions post-destroot { reinplace "s:${destroot}${prefix}:${prefix}:g" ${destroot}${prefix}/etc/profile.d/autojump.sh } notes " To use autojump for bash, add the following to the end of your .bashrc: if \[ -f ${prefix}/etc/profile.d/autojump.sh \]; then . ${prefix}/etc/profile.d/autojump.sh 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.sh \]; then . ${prefix}/etc/profile.d/autojump.sh fi To use zsh tab completion, load compinit in your .zshrc: autoload -U compinit; compinit "