# -*- 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 ndbroadbent scm_breeze 20120808 categories devel maintainers singingwolfboy 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. fetch.type git git.branch 0ccb241833 use_configure no build { delete ${worksrcpath}/install.sh ${worksrcpath}/uninstall.sh delete ${worksrcpath}/.git delete ${worksrcpath}/.travis.yml 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} ui_msg "cp ${prefix}/share/${name}/scmbrc.example ~/.scmbrc cp ${prefix}/share/${name}/git.scmbrc.example ~/.git.scmbrc echo \"\[ -s ${prefix}/share/${name}/${name}.sh \] && source ${prefix}/share/${name}/${name}.sh\" >> ~/.zshrc" }