From bb1fd07c022d32229560f7a6c564e3ec91aba353 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Mon, 5 Apr 2010 18:43:38 -0400 Subject: [PATCH] forumula: rxvt-unicode A new formula for urxvt (rxvt-unicode), with 256 color support. Signed-off-by: Adam Vandenberg * Caveats --- Formula/rxvt-unicode.rb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Formula/rxvt-unicode.rb diff --git a/Formula/rxvt-unicode.rb b/Formula/rxvt-unicode.rb new file mode 100644 index 0000000000..bf7d5199d9 --- /dev/null +++ b/Formula/rxvt-unicode.rb @@ -0,0 +1,34 @@ +require 'formula' + +class RxvtUnicode < Formula + url 'http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.07.tar.bz2' + homepage 'http://software.schmorp.de/pkg/rxvt-unicode.html' + md5 '49bb52c99e002bf85eb41d8385d903b5' + + aka :urxvt + + def patches + # Add 256 color support + {:p1 => "doc/urxvt-8.2-256color.patch"} + end + + def install + system "./configure", + "--prefix=#{prefix}", + "--disable-afterimage", + "--disable-perl", + "--enable-256-color", + "--with-term=rxvt-256color", + "--disable-dependency-tracking" + system "make" + + # `make` won't work unless we rename this + system "mv INSTALL README.install" + + system "make install" + end + + def caveats + "This software runs under X11." + end +end