aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/getmail.rb
blob: add5cec0aad1470f6de0c69a20b090c26bb0abc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Getmail < Formula
  url 'http://pyropus.ca/software/getmail/old-versions/getmail-4.24.0.tar.gz'
  homepage 'http://pyropus.ca/software/getmail/'
  md5 '85cf05f692f282c254b14fae9ec236bd'

  def install
    libexec.install 'getmailcore'
    bin.mkpath
    %w[ getmail getmail_fetch getmail_maildir getmail_mbox ].each do |f|
      libexec.install f
      ln_s libexec+f, bin
    end
    man1.install Dir['docs/*.1']
  end
end