aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2014-01-23 14:56:54 -0800
committerMike McQuaid2014-01-23 14:56:54 -0800
commitc47f196153b02f421b527f841583a99e4fad4fd2 (patch)
tree345615325e23f09636313a3b5d3db72088c22fd1
parent3aa41903a080e685e017957e0bd92b6300cd8d98 (diff)
downloadhomebrew-c47f196153b02f421b527f841583a99e4fad4fd2.tar.bz2
dovecot: cleanup caveats.
-rw-r--r--Library/Formula/dovecot.rb62
1 files changed, 31 insertions, 31 deletions
diff --git a/Library/Formula/dovecot.rb b/Library/Formula/dovecot.rb
index 2221a8263..e33498ce3 100644
--- a/Library/Formula/dovecot.rb
+++ b/Library/Formula/dovecot.rb
@@ -22,39 +22,39 @@ class Dovecot < Formula
args << "--with-lucene" if build.with? "clucene"
system "./configure", *args
- system "make install"
+ system "make", "install"
end
- def caveats; <<-EOS
-For Dovecot to work, you will need to do the following:
-
-1) Create configuration in #{etc}
-
-2) If required by the configuration above, create a dovecot user and group
-
-3) possibly create a launchd item in /Library/LaunchDaemons/#{plist_path.basename}, like so:
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>Label</key>
- <string>#{plist_name}</string>
- <key>OnDemand</key>
- <false/>
- <key>ProgramArguments</key>
- <array>
- <string>#{HOMEBREW_PREFIX}/sbin/dovecot</string>
- <string>-F</string>
- </array>
- <key>RunAtLoad</key>
- <true/>
- <key>ServiceDescription</key>
- <string>Dovecot mail server</string>
-</dict>
-</plist>
-
-Source: http://wiki.dovecot.org/LaunchdInstall
-4) start the server using: sudo launchctl load /Library/LaunchDaemons/#{plist_path.basename}
+ def caveats; <<-EOS.undent
+ For Dovecot to work, you will need to do the following:
+
+ 1) Create configuration in #{etc}
+
+ 2) If required by the configuration above, create a dovecot user and group
+
+ 3) possibly create a launchd item in /Library/LaunchDaemons/#{plist_path.basename}, like so:
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+ <plist version="1.0">
+ <dict>
+ <key>Label</key>
+ <string>#{plist_name}</string>
+ <key>OnDemand</key>
+ <false/>
+ <key>ProgramArguments</key>
+ <array>
+ <string>#{HOMEBREW_PREFIX}/sbin/dovecot</string>
+ <string>-F</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>ServiceDescription</key>
+ <string>Dovecot mail server</string>
+ </dict>
+ </plist>
+
+ Source: http://wiki.dovecot.org/LaunchdInstall
+ 4) start the server using: sudo launchctl load /Library/LaunchDaemons/#{plist_path.basename}
EOS
end
end