Created
December 2, 2011 18:08
-
-
Save lavallee/1424225 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
# This duplicates the system "screen", but fixes the ability | |
# to use vertical splits. | |
class Screen < Formula | |
url 'http://ftpmirror.gnu.org/screen/screen-4.0.3.tar.gz' | |
homepage 'http://www.gnu.org/software/screen' | |
md5 '8506fd205028a96c741e4037de6e3c42' | |
version '4.00.03' | |
head 'git://github.com/pgib/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}", "--infodir=#{info}", | |
"--enable-colors256" | |
system "make" | |
system "make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment