diff options
| author | Adam Vandenberg | 2010-05-26 21:03:39 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-26 21:03:39 -0700 |
| commit | 50acfeae330dc94c33e6e447c0d53040878f29c4 (patch) | |
| tree | 98b7884aca60a8c49abe091c826bd5636e8e41ef | |
| parent | c5c2e83471ee63723847041ef3965624cdf4b548 (diff) | |
| download | homebrew-50acfeae330dc94c33e6e447c0d53040878f29c4.tar.bz2 | |
Dovecot - fix etc, var.
| -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/> |
