source: trunk/dports/devel/scm_breeze/Portfile

Last change on this file was 98822, checked in by g5pw@…, 5 years ago

devel/scm_breeze:

  • I forgot to remove a file
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 98822 2012-10-17 15:35:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        ndbroadbent scm_breeze 1.0.0 v
8epoch               1
9categories          devel
10maintainers         g5pw openmaintainer
11license             MIT
12platforms           darwin
13supported_archs     noarch
14
15description         Streamline your SCM workflow
16
17long_description    \
18    SCM Breeze is a set of shell scripts (for bash and zsh) that enhance your \
19    interaction with tools such as git. It integrates with your shell to give you \
20    numbered file shortcuts, a repository index with tab completion, and a \
21    community driven collection of useful SCM functions.
22
23checksums           rmd160  51ea3cd198ac2e8cd6bce36508a961db443fd828 \
24                    sha256  e1793135162267f34e47c15f87f2ceb2bfb96dcf8c138dd1bcaf545f79691038
25
26use_configure       no
27
28build {
29    foreach f {install.sh uninstall.sh test test.sh .travis.yml} {
30        delete ${worksrcpath}/$f
31    }
32
33    reinplace -E "s|export scmbDir=.+|export scmbDir=\\\"${prefix}/share/${name}\\\"|g" \
34        ${worksrcpath}/${name}.sh
35}
36
37destroot {
38    file mkdir ${destroot}${prefix}/share
39    move ${worksrcpath} ${destroot}${prefix}/share/${name}
40}
41
42notes "
43To use, execute the following commands:
44=======================================
45    cp ${prefix}/share/${name}/scmbrc.example ~/.scmbrc
46    cp ${prefix}/share/${name}/git.scmbrc.example ~/.git.scmbrc
47
48Then add the following line to your .bashrc or .zshrc:
49======================================================
50    \[ -s ${prefix}/share/${name}/${name}.sh \] && source ${prefix}/share/${name}/${name}.sh\
51"
Note: See TracBrowser for help on using the repository browser.