From owner-svn-ports-all@FreeBSD.ORG Wed May 6 17:55:08 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E50C713D; Wed, 6 May 2015 17:55:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6D75174F; Wed, 6 May 2015 17:55:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t46Ht7aS037232; Wed, 6 May 2015 17:55:07 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t46Ht6Q5037227; Wed, 6 May 2015 17:55:06 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201505061755.t46Ht6Q5037227@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 6 May 2015 17:55:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385535 - in head/sysutils: . direnv X-SVN-Group: ports-head 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.20 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: Wed, 06 May 2015 17:55:08 -0000 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 + +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 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/