[98819] trunk/dports/devel/scm_breeze/Portfile

g5pw at macports.org g5pw at macports.org
Wed Oct 17 07:22:40 PDT 2012


Revision: 98819
          http://trac.macports.org//changeset/98819
Author:   g5pw at macports.org
Date:     2012-10-17 07:22:40 -0700 (Wed, 17 Oct 2012)
Log 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

Modified Paths:
--------------
    trunk/dports/devel/scm_breeze/Portfile

Modified: trunk/dports/devel/scm_breeze/Portfile
===================================================================
--- trunk/dports/devel/scm_breeze/Portfile	2012-10-17 13:47:44 UTC (rev 98818)
+++ trunk/dports/devel/scm_breeze/Portfile	2012-10-17 14:22:40 UTC (rev 98819)
@@ -1,12 +1,13 @@
-# -*- 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
+# -*- 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
 # $Id$
 
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        ndbroadbent scm_breeze 20120808
+github.setup        ndbroadbent scm_breeze 1.0.0 v
+epoch               1
 categories          devel
-maintainers         singingwolfboy openmaintainer
+maintainers         g5pw openmaintainer
 license             MIT
 platforms           darwin
 supported_archs     noarch
@@ -19,21 +20,32 @@
     numbered file shortcuts, a repository index with tab completion, and a \
     community driven collection of useful SCM functions.
 
-fetch.type          git
-git.branch          0ccb241833
+checksums           rmd160  51ea3cd198ac2e8cd6bce36508a961db443fd828 \
+                    sha256  e1793135162267f34e47c15f87f2ceb2bfb96dcf8c138dd1bcaf545f79691038
+
 use_configure       no
+
 build {
-    delete ${worksrcpath}/install.sh ${worksrcpath}/uninstall.sh
-    delete ${worksrcpath}/.git
-    delete ${worksrcpath}/.travis.yml
+    foreach f {install.sh uninstall.sh test test.sh} {
+        delete ${worksrcpath}/$f
+    }
 
     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"
 }
+
+notes "
+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\
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121017/d7ef618d/attachment.html>


More information about the macports-changes mailing list