aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPaul Annesley2013-04-22 00:15:42 +1000
committerAdam Vandenberg2013-09-19 07:24:49 -0700
commit87789703630e6b65dccd18cc5a652f1eae75a1ce (patch)
treec6a8ee830065aa43b5f7393bb0458741149f8bc1 /Library/Formula
parentb0dd658a1df8d7e2ecd76f47f4080fa41ef57869 (diff)
downloadhomebrew-87789703630e6b65dccd18cc5a652f1eae75a1ce.tar.bz2
bitchx 1.2
Closes #20278. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bitchx.rb39
1 files changed, 39 insertions, 0 deletions
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