Changeset 98819


Ignore:
Timestamp:
Oct 17, 2012, 2:22:40 PM (7 years ago)
Author:
g5pw@…
Message:

devel/scm_breeze:

  • taking over maintainership as per original maintainer request
  • bump to 1.0.0, epoch to 1
  • use notes instead of ui_msg
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=4
     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
    22# $Id$
    33
     
    55PortGroup           github 1.0
    66
    7 github.setup        ndbroadbent scm_breeze 20120808
     7github.setup        ndbroadbent scm_breeze 1.0.0 v
     8epoch               1
    89categories          devel
    9 maintainers         singingwolfboy openmaintainer
     10maintainers         g5pw openmaintainer
    1011license             MIT
    1112platforms           darwin
     
    2021    community driven collection of useful SCM functions.
    2122
    22 fetch.type          git
    23 git.branch          0ccb241833
     23checksums           rmd160  51ea3cd198ac2e8cd6bce36508a961db443fd828 \
     24                    sha256  e1793135162267f34e47c15f87f2ceb2bfb96dcf8c138dd1bcaf545f79691038
     25
    2426use_configure       no
     27
    2528build {
    26     delete ${worksrcpath}/install.sh ${worksrcpath}/uninstall.sh
    27     delete ${worksrcpath}/.git
    28     delete ${worksrcpath}/.travis.yml
     29    foreach f {install.sh uninstall.sh test test.sh} {
     30        delete ${worksrcpath}/$f
     31    }
    2932
    3033    reinplace -E "s|export scmbDir=.+|export scmbDir=\\\"${prefix}/share/${name}\\\"|g" \
    3134        ${worksrcpath}/${name}.sh
    3235}
     36
    3337destroot {
    3438    file mkdir ${destroot}${prefix}/share
    3539    move ${worksrcpath} ${destroot}${prefix}/share/${name}
    36     ui_msg "cp ${prefix}/share/${name}/scmbrc.example ~/.scmbrc
    37 cp ${prefix}/share/${name}/git.scmbrc.example ~/.git.scmbrc
    38 echo \"\[ -s ${prefix}/share/${name}/${name}.sh \] && source ${prefix}/share/${name}/${name}.sh\" >> ~/.zshrc"
    3940}
     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 TracChangeset for help on using the changeset viewer.