require 'formula' class CouchdbLucene >} EOS end def plist_file return <<-EOS Label couchdb-lucene EnvironmentVariables HOME ~ DYLD_LIBRARY_PATH /opt/local/lib:$DYLD_LIBRARY_PATH ProgramArguments #{bin}/run UserName #{`whoami`.chomp} StandardOutPath /dev/null StandardErrorPath /dev/null RunAtLoad KeepAlive EOS end end