aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/msmtp.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-06 22:58:35 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd0efd9ee94a55e243f3b10e903526274fc21d569 (patch)
treeb21984390a0292957a3819df57c62bac558d284d /Library/Formula/msmtp.rb
parentcdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff)
downloadhomebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2
Update formulae for version 0.7
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/msmtp.rb')
-rw-r--r--Library/Formula/msmtp.rb16
1 files changed, 5 insertions, 11 deletions
diff --git a/Library/Formula/msmtp.rb b/Library/Formula/msmtp.rb
index c7f1030a2..c0fd91d50 100644
--- a/Library/Formula/msmtp.rb
+++ b/Library/Formula/msmtp.rb
@@ -6,21 +6,15 @@ class Msmtp <Formula
md5 '065042eaaee40c2779cf0bcfffe72aae'
def options
- [
- ['--with-macosx-keyring', "Support Mac OS X Keyring"]
- ]
+ [['--with-macosx-keyring', "Support Mac OS X Keyring"]]
end
def install
- configure_args = [
- "--prefix=#{prefix}",
- "--disable-debug",
- "--disable-dependency-tracking",
- ]
+ args = [ "--disable-dependency-tracking", "--disable-debug",
+ "--prefix=#{prefix}" ]
+ args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
- configure_args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
-
- system "./configure", *configure_args
+ system "./configure", *args
system "make install"
end
end