2010-06-17 12:34:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Tin < Formula
|
2010-06-17 12:34:06 +00:00
|
|
|
homepage 'http://www.tin.org'
|
2014-01-12 21:58:45 +00:00
|
|
|
url 'ftp://ftp.tin.org/pub/news/clients/tin/v2.2/tin-2.2.0.tar.gz'
|
|
|
|
sha1 '91293a529ae454f0506fc756325b4cfb9c5c235d'
|
2010-06-17 12:34:06 +00:00
|
|
|
|
2013-11-07 14:28:42 +00:00
|
|
|
conflicts_with 'mutt',
|
|
|
|
:because => 'both install mmdf.5 and mbox.5 man pages'
|
|
|
|
|
2010-06-17 12:34:06 +00:00
|
|
|
def install
|
|
|
|
ENV.enable_warnings
|
2013-11-07 14:28:42 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}", "--mandir=#{man}"
|
2010-06-17 12:34:06 +00:00
|
|
|
system "make build"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|