Changeset 98819
- Timestamp:
- Oct 17, 2012, 2:22:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/scm_breeze/Portfile
r96425 r98819 1 # -*- 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=41 # -*- 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 2 # $Id$ 3 3 … … 5 5 PortGroup github 1.0 6 6 7 github.setup ndbroadbent scm_breeze 20120808 7 github.setup ndbroadbent scm_breeze 1.0.0 v 8 epoch 1 8 9 categories devel 9 maintainers singingwolfboyopenmaintainer10 maintainers g5pw openmaintainer 10 11 license MIT 11 12 platforms darwin … … 20 21 community driven collection of useful SCM functions. 21 22 22 fetch.type git 23 git.branch 0ccb241833 23 checksums rmd160 51ea3cd198ac2e8cd6bce36508a961db443fd828 \ 24 sha256 e1793135162267f34e47c15f87f2ceb2bfb96dcf8c138dd1bcaf545f79691038 25 24 26 use_configure no 27 25 28 build { 26 delete ${worksrcpath}/install.sh ${worksrcpath}/uninstall.sh27 delete ${worksrcpath}/.git28 delete ${worksrcpath}/.travis.yml29 foreach f {install.sh uninstall.sh test test.sh} { 30 delete ${worksrcpath}/$f 31 } 29 32 30 33 reinplace -E "s|export scmbDir=.+|export scmbDir=\\\"${prefix}/share/${name}\\\"|g" \ 31 34 ${worksrcpath}/${name}.sh 32 35 } 36 33 37 destroot { 34 38 file mkdir ${destroot}${prefix}/share 35 39 move ${worksrcpath} ${destroot}${prefix}/share/${name} 36 ui_msg "cp ${prefix}/share/${name}/scmbrc.example ~/.scmbrc37 cp ${prefix}/share/${name}/git.scmbrc.example ~/.git.scmbrc38 echo \"\[ -s ${prefix}/share/${name}/${name}.sh \] && source ${prefix}/share/${name}/${name}.sh\" >> ~/.zshrc"39 40 } 41 42 notes " 43 To 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 48 Then 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 TracChangeset
for help on using the changeset viewer.