aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorLuke Amdor2010-07-01 14:03:04 -0500
committerAdam Vandenberg2010-09-07 05:43:58 -0700
commit137dd7e2ea709678b1265a9b31487378ac5d5a6d (patch)
tree7a94fe23c402727ec4e46e3de325e4e4f32de0c6 /Library/Formula
parent2a0250eaca518daf9706b0c9588b8b7ea5684fd8 (diff)
downloadhomebrew-137dd7e2ea709678b1265a9b31487378ac5d5a6d.tar.bz2
Added ns-fullscreen patch for emacs formula if running with "--cocoa" flag
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/emacs.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index b082cc4a1..9470152c7 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/Formula/emacs.rb
@@ -5,12 +5,13 @@ require 'formula'
class Emacs <Formula
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.2.tar.bz2'
md5 '057a0379f2f6b85fb114d8c723c79ce2'
+ homepage 'http://www.gnu.org/software/emacs/'
+
if ARGV.include? "--use-git-head"
head 'git://repo.or.cz/emacs.git'
else
head 'bzr://http://bzr.savannah.gnu.org/r/emacs/trunk'
end
- homepage 'http://www.gnu.org/software/emacs/'
def options
[
@@ -20,6 +21,10 @@ class Emacs <Formula
]
end
+ def patches
+ "http://github.com/downloads/typester/emacs/feature-fullscreen.patch" if ARGV.include? "--cocoa"
+ end
+
def caveats
s = ""
if ARGV.include? "--cocoa"