diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2018-03-11 03:22:33 +0800 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2018-03-11 03:22:33 +0800 |
commit | 78fa2cca520547ea8a0455d6ddb5152f2de8f18e (patch) | |
tree | 68976fb2a6f0b784e3714792e31baa6e6d013890 /misc | |
parent | bf1a5c7fc2284d7df666d504970a33efc748ce13 (diff) | |
download | freebsd-ports-gnome-78fa2cca520547ea8a0455d6ddb5152f2de8f18e.tar.gz freebsd-ports-gnome-78fa2cca520547ea8a0455d6ddb5152f2de8f18e.tar.zst freebsd-ports-gnome-78fa2cca520547ea8a0455d6ddb5152f2de8f18e.zip |
Add misc/with: Command prefixing for continuous workflow using a single tool
Starts an interactive shell with where every command is prefixed using
<program>, for example:
$ with git
git> add .
git> commit -a -m "Commited"
git> push
WWW: https://github.com/mchav/with
PR: 226407
Submitted by: Mateusz Piotrowski <0mp@FreeBSD.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/with/Makefile | 38 | ||||
-rw-r--r-- | misc/with/distinfo | 3 | ||||
-rw-r--r-- | misc/with/pkg-descr | 11 |
4 files changed, 53 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 6e4839f39eb3..5d8d54c295aa 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -502,6 +502,7 @@ SUBDIR += viz SUBDIR += whichman SUBDIR += window + SUBDIR += with SUBDIR += wmScoreBoard SUBDIR += wmcalendar SUBDIR += wmjulia diff --git a/misc/with/Makefile b/misc/with/Makefile new file mode 100644 index 000000000000..5a7bce6db7d0 --- /dev/null +++ b/misc/with/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= with +DISTVERSION= g20171025 +CATEGORIES= misc + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Command prefixing for continuous workflow using a single tool + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= bash:shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= mchav +GH_TAGNAME= 3d0ed3d + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/with \ + etc/bash_completion.d/with.bash-completion +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/with ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d + ${INSTALL_DATA} ${WRKSRC}/with.bash-completion \ + ${STAGEDIR}${PREFIX}/etc/bash_completion.d + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/misc/with/distinfo b/misc/with/distinfo new file mode 100644 index 000000000000..3f83b465f41b --- /dev/null +++ b/misc/with/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1520369229 +SHA256 (mchav-with-g20171025-3d0ed3d_GH0.tar.gz) = fa597cf4122875cb3e9320919c581fcb175fb226e4b2afebd6834e4f1560f61e +SIZE (mchav-with-g20171025-3d0ed3d_GH0.tar.gz) = 4822 diff --git a/misc/with/pkg-descr b/misc/with/pkg-descr new file mode 100644 index 000000000000..4be180be787c --- /dev/null +++ b/misc/with/pkg-descr @@ -0,0 +1,11 @@ +Command prefixing for continuous workflow using a single tool. + +Starts an interactive shell with where every command is prefixed using +<program>, for example: + + $ with git + git> add . + git> commit -a -m "Commited" + git> push + +WWW: https://github.com/mchav/with |