# -*- 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
github.setup ndbroadbent scm_breeze 1.0.0 v
maintainers {g5pw @g5pw} openmaintainer
description Streamline your SCM workflow
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
foreach f {install.sh uninstall.sh test test.sh .travis.yml} {
reinplace -E "s|export scmbDir=.+|export scmbDir=\\\"${prefix}/share/${name}\\\"|g" \
${worksrcpath}/${name}.sh
file mkdir ${destroot}${prefix}/share
move ${worksrcpath} ${destroot}${prefix}/share/${name}
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\