From owner-svn-ports-all@freebsd.org Tue Mar 6 19:10:09 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45693F4BB4E; Tue, 6 Mar 2018 19:10:09 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC37285835; Tue, 6 Mar 2018 19:10:08 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD01E16E1C; Tue, 6 Mar 2018 19:10:08 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w26JA8CH060749; Tue, 6 Mar 2018 19:10:08 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w26JA88T060745; Tue, 6 Mar 2018 19:10:08 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201803061910.w26JA88T060745@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Tue, 6 Mar 2018 19:10:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463740 - in head/shells: . envy X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: in head/shells: . envy X-SVN-Commit-Revision: 463740 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2018 19:10:09 -0000 Author: krion Date: Tue Mar 6 19:10:08 2018 New Revision: 463740 URL: https://svnweb.freebsd.org/changeset/ports/463740 Log: Add new port shells/envy Envy is a shell helper program that automatically sets environment variables when you enter certain directories, and properly undoes its actions when you leave them. Envy can be used to replace the shell integration part of tools like pyenv, nvm and asdf. It sets environment variables with the root of the current git repository and the active branch without executing git, which you can use to customize your shell prompt. It also loads custom environment variables from local .envy files. Added: head/shells/envy/ head/shells/envy/Makefile (contents, props changed) head/shells/envy/distinfo (contents, props changed) head/shells/envy/pkg-descr (contents, props changed) Modified: head/shells/Makefile Modified: head/shells/Makefile ============================================================================== --- head/shells/Makefile Tue Mar 6 19:01:50 2018 (r463739) +++ head/shells/Makefile Tue Mar 6 19:10:08 2018 (r463740) @@ -10,6 +10,7 @@ SUBDIR += bashc SUBDIR += ch SUBDIR += dash + SUBDIR += envy SUBDIR += es SUBDIR += esh SUBDIR += fd Added: head/shells/envy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/envy/Makefile Tue Mar 6 19:10:08 2018 (r463740) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= envy +DISTVERSIONPREFIX=v +DISTVERSION= 0.1.0 +CATEGORIES= shells + +MAINTAINER= krion@FreeBSD.org +COMMENT= Shell helper that automatically sets and unsets environment variables + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= wojas + +GO_PKGNAME= github.com/wojas/${PORTNAME} + +PLIST_FILES= bin/envy + +.include Added: head/shells/envy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/envy/distinfo Tue Mar 6 19:10:08 2018 (r463740) @@ -0,0 +1,3 @@ +TIMESTAMP = 1520362737 +SHA256 (wojas-envy-v0.1.0_GH0.tar.gz) = f679cd32168db3d748464383f41a6a362124660bc8c230d6314de2f852326812 +SIZE (wojas-envy-v0.1.0_GH0.tar.gz) = 168091 Added: head/shells/envy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/envy/pkg-descr Tue Mar 6 19:10:08 2018 (r463740) @@ -0,0 +1,11 @@ +Envy is a shell helper program that automatically sets environment +variables when you enter certain directories, and properly undoes +its actions when you leave them. + +Envy can be used to replace the shell integration part of tools like +pyenv, nvm and asdf. It sets environment variables with the root of +the current git repository and the active branch without executing +git, which you can use to customize your shell prompt. It also loads +custom environment variables from local .envy files. + +WWW: https://github.com/wojas/envy