Files
tigerbrew/Library/Formula/direnv.rb
T
Jonas Pfenniger 0e4dec281e direnv v0.1.109
Closes #9352.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-01 17:26:15 -06:00

31 lines
627 B
Ruby

require 'formula'
class Direnv < Formula
homepage 'http://www.direnv.net'
url 'https://github.com/zimbatm/direnv/tarball/v0.1.109'
md5 'a3ddab0323037533be3b942683188742'
head 'https://github.com/zimbatm/direnv.git'
def install
system "make install DESTDIR=#{prefix}"
end
def caveats
<<-EOS.undent
One last step.
At the END of your ~/.bashrc or ~/.zshrc, add the following line:
eval `direnv hook $0`
I mean, AFTER rvm, git-prompt and friends :)
Reload your shell, done.
See the wiki for docs and examples:
https://github.com/zimbatm/direnv/wiki/
EOS
end
end