1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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.
This commit is contained in:
Kirill Ponomarev 2018-03-06 19:10:08 +00:00
parent 6d233d5455
commit f46c730b41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463740
4 changed files with 38 additions and 0 deletions

View File

@ -10,6 +10,7 @@
SUBDIR += bashc
SUBDIR += ch
SUBDIR += dash
SUBDIR += envy
SUBDIR += es
SUBDIR += esh
SUBDIR += fd

23
shells/envy/Makefile Normal file
View File

@ -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 <bsd.port.mk>

3
shells/envy/distinfo Normal file
View File

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

11
shells/envy/pkg-descr Normal file
View File

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