2010-04-10 19:13:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Getmail < Formula
|
2011-06-18 05:05:26 +00:00
|
|
|
url 'http://pyropus.ca/software/getmail/old-versions/getmail-4.20.3.tar.gz'
|
2010-04-10 19:13:10 +00:00
|
|
|
homepage 'http://pyropus.ca/software/getmail/'
|
2011-06-18 05:05:26 +00:00
|
|
|
md5 'afb772745e91c9a7baa7d9337bc34df2'
|
2010-04-10 19:13:10 +00:00
|
|
|
|
|
|
|
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
|
2011-07-07 02:21:16 +00:00
|
|
|
man1.install Dir['docs/*.1']
|
2010-04-10 19:13:10 +00:00
|
|
|
end
|
|
|
|
end
|