Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2015 17:55:06 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385535 - in head/sysutils: . direnv
Message-ID:  <201505061755.t46Ht6Q5037227@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed May  6 17:55:06 2015
New Revision: 385535
URL: https://svnweb.freebsd.org/changeset/ports/385535

Log:
  sysutils/direnv: add port
  
  direnv is an environment switcher for the shell. It knows how to hook into
  bash, zsh, tcsh and fish shell to load or unload environment variables
  depending on the current directory. This allows to have project-specific
  environment variables and not clutter the "~/.profile" file.
  
  WWW: http://direnv.net/

Added:
  head/sysutils/direnv/
  head/sysutils/direnv/Makefile   (contents, props changed)
  head/sysutils/direnv/distinfo   (contents, props changed)
  head/sysutils/direnv/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Wed May  6 17:53:52 2015	(r385534)
+++ head/sysutils/Makefile	Wed May  6 17:55:06 2015	(r385535)
@@ -189,6 +189,7 @@
     SUBDIR += di
     SUBDIR += dim
     SUBDIR += dirdiff
+    SUBDIR += direnv
     SUBDIR += dirvish
     SUBDIR += diskcheckd
     SUBDIR += diskimage-tools

Added: head/sysutils/direnv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/direnv/Makefile	Wed May  6 17:55:06 2015	(r385535)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	direnv
+PORTVERSION=	2.6.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	sysutils
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Environment variable manager for your shell
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	zimbatm
+GH_PROJECT=	direnv
+
+PLIST_FILES=	bin/direnv man/man1/direnv.1.gz man/man1/direnv-stdlib.1.gz
+
+STRIP=		# stripping can break go binaries
+
+.include <bsd.port.options.mk>
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/direnv \
+		${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/man/direnv.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/direnv-stdlib.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/sysutils/direnv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/direnv/distinfo	Wed May  6 17:55:06 2015	(r385535)
@@ -0,0 +1,2 @@
+SHA256 (zimbatm-direnv-v2.6.0_GH0.tar.gz) = b85aac4d6a4ddf2daf193aabb3b2faf89e56507d33d763ab74cc7eb0b524ac03
+SIZE (zimbatm-direnv-v2.6.0_GH0.tar.gz) = 32648

Added: head/sysutils/direnv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/direnv/pkg-descr	Wed May  6 17:55:06 2015	(r385535)
@@ -0,0 +1,6 @@
+direnv is an environment switcher for the shell. It knows how to hook into
+bash, zsh, tcsh and fish shell to load or unload environment variables
+depending on the current directory. This allows to have project-specific
+environment variables and not clutter the "~/.profile" file.
+
+WWW: http://direnv.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505061755.t46Ht6Q5037227>