[96424] trunk/dports/devel

singingwolfboy at macports.org singingwolfboy at macports.org
Thu Aug 9 08:39:49 PDT 2012


Revision: 96424
          https://trac.macports.org/changeset/96424
Author:   singingwolfboy at macports.org
Date:     2012-08-09 08:39:48 -0700 (Thu, 09 Aug 2012)
Log Message:
-----------
New port: scm_breeze

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

Added: trunk/dports/devel/scm_breeze/Portfile
===================================================================
--- trunk/dports/devel/scm_breeze/Portfile	                        (rev 0)
+++ trunk/dports/devel/scm_breeze/Portfile	2012-08-09 15:39:48 UTC (rev 96424)
@@ -0,0 +1,39 @@
+# -*- 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: Portfile 78979 2011-05-28 21:10:59Z ryandesign at macports.org $
+
+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"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120809/b1cd60a2/attachment.html>


More information about the macports-changes mailing list