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>
This commit is contained in:
Danilo G. Baio 2018-03-10 19:22:33 +00:00
parent bf1a5c7fc2
commit 78fa2cca52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464087
4 changed files with 53 additions and 0 deletions

View file

@ -502,6 +502,7 @@
SUBDIR += viz
SUBDIR += whichman
SUBDIR += window
SUBDIR += with
SUBDIR += wmScoreBoard
SUBDIR += wmcalendar
SUBDIR += wmjulia

38
misc/with/Makefile Normal file
View file

@ -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>

3
misc/with/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1520369229
SHA256 (mchav-with-g20171025-3d0ed3d_GH0.tar.gz) = fa597cf4122875cb3e9320919c581fcb175fb226e4b2afebd6834e4f1560f61e
SIZE (mchav-with-g20171025-3d0ed3d_GH0.tar.gz) = 4822

11
misc/with/pkg-descr Normal file
View file

@ -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