# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories devel sysutils
maintainers {michaelld @michaelld} openmaintainer
description ${name} is an environment switcher for the shell.
${description} 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 project-specific environment variables without \
cluttering the \"~/.profile\" file.
if {${name} eq ${subport}} {
go.setup github.com/direnv/direnv 2.20.1 v
checksums rmd160 8372c319e57ac8557c87b8dca32da6d874014afa \
sha256 837b208c0bbee6f250f051d53cc1d89cfcd7899dad4363ade9845dd955bce425 \
go.setup github.com/direnv/direnv a3b75ed997c6369dc806ab3942d7479c034ae0d7
version 20191022-[string range ${github.version} 0 7]
checksums rmd160 cf2e43a4a534e101d5b7393c1428de4000faaf88 \
sha256 f1e7f78c4f205da9db2820756deae4c82ad593de33c6838b71f00c67257bcbbd \
long_description ${long_description}: \
This port follows the GIT master version of ${name}, which is \
typically updated every few days to weeks.
# override github information
homepage http://direnv.net/
depends_build-append port:shfmt
system "cd ${worksrcpath} && make install DESTDIR=${destroot}${prefix}"