From 87789703630e6b65dccd18cc5a652f1eae75a1ce Mon Sep 17 00:00:00 2001 From: Paul Annesley Date: Mon, 22 Apr 2013 00:15:42 +1000 Subject: bitchx 1.2 Closes #20278. Signed-off-by: Adam Vandenberg --- Library/Formula/bitchx.rb | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Library/Formula/bitchx.rb (limited to 'Library/Formula') diff --git a/Library/Formula/bitchx.rb b/Library/Formula/bitchx.rb new file mode 100644 index 000000000..4b83b766b --- /dev/null +++ b/Library/Formula/bitchx.rb @@ -0,0 +1,39 @@ +require 'formula' + +class Bitchx < Formula + + homepage 'https://github.com/BitchX' + url 'http://bitchx.ca/BitchX-1.2-final.tar.gz' + sha1 'a2162a18d3a96ade7d2410f6a560e43f7d6b8763' + + depends_on :macos => :mountain_lion + + def install + args = %W{ + --prefix=#{prefix} + --with-ssl + --with-plugins + --enable-ipv6 + --mandir=#{man} + } + + system "./configure", *args + system "make" + system "make", "install" + end + + def caveats; <<-EOS.undent + On case-sensitive filesytems, it is necessary to run `BitchX` not `bitchx`. + For best visual appearance, your terminal emulator may need: + * Character encoding set to Western (ISO Latin 1). + (or a similar, compatible encoding) + * A font capable of extended ASCII characters: + See: https://www.google.com/search?q=perfect+dos+vga+437 + EOS + end + + test do + system "BitchX -v" + end + +end -- cgit v1.2.3