From 84759ce067c048745269208e47ead21448a5d733 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Tue, 21 Sep 2010 23:53:57 +0900 Subject: [PATCH] Add bug-fixed screen 4.00.03 Signed-off-by: Adam Vandenberg (cherry picked from commit bfb0d371b9a8e8ad94f006b60bb5096a59daec21) --- Library/Formula/screen.rb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Library/Formula/screen.rb diff --git a/Library/Formula/screen.rb b/Library/Formula/screen.rb new file mode 100644 index 000000000000..93c96d114416 --- /dev/null +++ b/Library/Formula/screen.rb @@ -0,0 +1,30 @@ +require 'formula' + +# This duplicates the system "screen", but fixes the ability +# to use vertical splits. + +class Screen 'master' + + def patches + "http://trac.macports.org/raw-attachment/ticket/20862/screen-4.0.3-snowleopard.patch" + end unless ARGV.build_head? + + def install + if ARGV.build_head? + cd 'src' + system "autoconf" + system "autoheader" + end + + system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", + "--enable-colors256" + system "make" + system "make install" + end +end