# -*- 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.19.1 v
checksums rmd160 e9e37587830d76db7e16af0904161915663a103a \
sha256 27520e34ec6a2fd10482f7c0fd1d89cf830d5827f7e7d5ede927e8b810d1fe77 \
go.setup github.com/direnv/direnv cd0452ed73fca35e7ee60156d0be9d6dc1188f12
checksums rmd160 e9e37587830d76db7e16af0904161915663a103a \
sha256 27520e34ec6a2fd10482f7c0fd1d89cf830d5827f7e7d5ede927e8b810d1fe77 \
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}"