Files
tigerbrew/Library/Formula/direnv.rb
T
Jonas Pfenniger 5f0d424ff6 direnv 0.1.151
Closes #15833.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-03 13:06:28 -07:00

23 lines
538 B
Ruby

require 'formula'
class Direnv < Formula
homepage 'http://www.direnv.net'
url 'https://github.com/zimbatm/direnv/tarball/v0.1.151'
sha1 '8f78b8ee408bd54584171973aa7da898991e6779'
head 'https://github.com/zimbatm/direnv.git'
def install
system "make", "install", "DESTDIR=#{prefix}"
end
def caveats; <<-EOS.undent
At the END of your ~/.bashrc or ~/.zshrc, add the following line:
eval `direnv hook $0`
See the wiki for docs and examples:
https://github.com/zimbatm/direnv/wiki/
EOS
end
end