diff options
Diffstat (limited to 'Library/Formula/dovecot.rb')
| -rw-r--r-- | Library/Formula/dovecot.rb | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/Library/Formula/dovecot.rb b/Library/Formula/dovecot.rb index 9cf03ff6a..01c920f28 100644 --- a/Library/Formula/dovecot.rb +++ b/Library/Formula/dovecot.rb @@ -6,22 +6,18 @@ class Dovecot <Formula md5 'bdac013fd57aa616ea4bdd9ac34557c6' def install - system "./configure", "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking", - "--sysconfdir=#{prefix}/etc", - "--localstatedir=#{prefix}/var", - "--with-ssl=openssl", - "--with-ioloop=kqueue" + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--sysconfdir=#{etc}", + "--localstatedir=#{var}", + "--with-ssl=openssl" system "make install" - - # TODO: automate some of the caveats? end def caveats; <<-EOS For Dovecot to work, you will need to do the following: -1) create configuration in #{prefix}/etc +1) Create configuration in #{etc} 2) If required by the configuration above, create a dovecot user and group @@ -35,7 +31,7 @@ For Dovecot to work, you will need to do the following: <string>org.dovecot</string> <key>ProgramArguments</key> <array> - <string>#{prefix}/sbin/dovecot</string> + <string>#{sbin}/dovecot</string> </array> <key>RunAtLoad</key> <true/> |
