2013-04-21 14:15:42 +00:00
|
|
|
class Bitchx < Formula
|
2015-12-19 06:19:43 +00:00
|
|
|
desc "Text-based, scriptable IRC client"
|
2015-01-04 14:10:26 +00:00
|
|
|
homepage "http://bitchx.sourceforge.net/"
|
|
|
|
url "https://downloads.sourceforge.net/project/bitchx/ircii-pana/bitchx-1.2.1/bitchx-1.2.1.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2"
|
2013-04-21 14:15:42 +00:00
|
|
|
|
2015-01-04 14:36:35 +00:00
|
|
|
bottle do
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "ebb3d7dd9342843c47964d4c545e76136aeb4e200f9495cd2767d0e31fc37181" => :yosemite
|
|
|
|
sha256 "494fd5d6084f70158e82d49a067439770935d5aeeb6223d1c229a27e6f7f9e8f" => :mavericks
|
|
|
|
sha256 "f0d7c9d8eaccd526c39037903121e1e6a026ce93988610ed32ad3b5f864fb630" => :mountain_lion
|
2015-01-04 14:36:35 +00:00
|
|
|
end
|
|
|
|
|
2015-01-04 14:10:26 +00:00
|
|
|
depends_on "openssl"
|
2013-04-21 14:15:42 +00:00
|
|
|
|
|
|
|
def install
|
2015-01-04 14:10:26 +00:00
|
|
|
plugins = %w[acro aim arcfour amp autocycle blowfish cavlink encrypt
|
|
|
|
fserv hint identd nap pkga possum qbx qmail]
|
|
|
|
args = %W[
|
2013-04-21 14:15:42 +00:00
|
|
|
--prefix=#{prefix}
|
|
|
|
--with-ssl
|
2015-01-04 14:10:26 +00:00
|
|
|
--with-plugins=#{plugins * ","}
|
2013-04-21 14:15:42 +00:00
|
|
|
--enable-ipv6
|
|
|
|
--mandir=#{man}
|
2015-01-04 14:10:26 +00:00
|
|
|
]
|
2013-04-21 14:15:42 +00:00
|
|
|
|
|
|
|
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
|
2014-05-20 17:41:52 +00:00
|
|
|
system bin/"BitchX", "-v"
|
2013-04-21 14:15:42 +00:00
|
|
|
end
|
|
|
|
end
|