class Cntlm < Formula desc "NTLM authentication proxy with tunneling" homepage "http://cntlm.sourceforge.net/" url "https://downloads.sourceforge.net/project/cntlm/cntlm/cntlm%200.92.3/cntlm-0.92.3.tar.bz2" sha256 "7b603d6200ab0b26034e9e200fab949cc0a8e5fdd4df2c80b8fc5b1c37e7b930" def install system "./configure" system "make", "CC=#{ENV.cc}", "SYSCONFDIR=#{etc}" # install target fails - @adamv bin.install "cntlm" man1.install "doc/cntlm.1" etc.install "doc/cntlm.conf" end def caveats "Edit #{etc}/cntlm.conf to configure Cntlm" end plist_options :startup => true def plist; <<-EOS.undent Label #{plist_name} ProgramArguments #{opt_bin}/cntlm KeepAlive RunAtLoad StandardErrorPath /dev/null StandardOutPath /dev/null EOS end end