Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add bug-fixed screen 4.00.03
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
(cherry picked from commit bfb0d37)
  • Loading branch information
hsbt authored and ipmb committed Nov 12, 2010
1 parent 48a38a1 commit 84759ce
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions 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 <Formula
url 'http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz'
homepage 'http://www.gnu.org/software/screen'
md5 '8506fd205028a96c741e4037de6e3c42'
version '4.00.03'

head 'git://git.savannah.gnu.org/screen.git', :branch => '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

0 comments on commit 84759ce

Please sign in to comment.