add trash folder patch and hcache support to mutt

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Craig P Jolicoeur 2010-03-03 16:57:19 -05:00 committed by Adam Vandenberg
parent ee1f12ed97
commit db926e41b4
1 changed files with 11 additions and 2 deletions

View File

@ -5,16 +5,24 @@ class Mutt <Formula
@homepage='http://www.mutt.org/'
@md5='027cdd9959203de0c3c64149a7ee351c'
depends_on 'tokyo-cabinet'
def options
[
['--sidebar-patch', "Apply sidebar (folder list) patch"]
['--sidebar-patch', "Apply sidebar (folder list) patch"],
['--trash-patch', "Apply trash folder patch"]
]
end
def patches
patches = []
if ARGV.include? '--sidebar-patch'
'http://lunar-linux.org/~tchan/mutt/patch-1.5.20.sidebar.20090619.txt'
patches << 'http://lunar-linux.org/~tchan/mutt/patch-1.5.20.sidebar.20090619.txt'
end
if ARGV.include? '--trash-patch'
patches << 'http://trac.macports.org/raw-attachment/ticket/20412/patch-1.5.20.cd.trash_folder.diff'
end
patches
end
def install
@ -30,6 +38,7 @@ class Mutt <Formula
"--enable-imap",
"--enable-smtp",
"--enable-pop",
"--enable-hcache",
# This is just a trick to keep 'make install' from trying to chgrp
# the mutt_dotlock file (which we can't do if we're running as an