# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup ndbroadbent scm_breeze 1.0.0 v epoch 1 categories devel maintainers g5pw openmaintainer license MIT platforms darwin supported_archs noarch description Streamline your SCM workflow long_description \ SCM Breeze is a set of shell scripts (for bash and zsh) that enhance your \ interaction with tools such as git. It integrates with your shell to give you \ numbered file shortcuts, a repository index with tab completion, and a \ community driven collection of useful SCM functions. checksums rmd160 51ea3cd198ac2e8cd6bce36508a961db443fd828 \ sha256 e1793135162267f34e47c15f87f2ceb2bfb96dcf8c138dd1bcaf545f79691038 use_configure no build { foreach f {install.sh uninstall.sh test test.sh .travis.yml} { delete ${worksrcpath}/$f } reinplace -E "s|export scmbDir=.+|export scmbDir=\\\"${prefix}/share/${name}\\\"|g" \ ${worksrcpath}/${name}.sh } destroot { file mkdir ${destroot}${prefix}/share move ${worksrcpath} ${destroot}${prefix}/share/${name} } notes " To use, execute the following commands: ======================================= cp ${prefix}/share/${name}/scmbrc.example ~/.scmbrc cp ${prefix}/share/${name}/git.scmbrc.example ~/.git.scmbrc Then add the following line to your .bashrc or .zshrc: ====================================================== \[ -s ${prefix}/share/${name}/${name}.sh \] && source ${prefix}/share/${name}/${name}.sh\ "