aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tin.rb
blob: 994dd93c3e36710e5581287d175f55b9886c56bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Tin < Formula
  homepage "http://www.tin.org"
  url "http://ftp.cuhk.edu.hk/pub/packages/news/tin/v2.2/tin-2.2.1.tar.gz"
  sha1 "9ef12345ed1cfb482138c5c54a7f73dfb91b9039"

  bottle do
    sha1 "64bb6a1947bf0d5daf81d6dd1a964a555e5c618b" => :yosemite
    sha1 "960642645d2022d2f5568af56518b1d4633be1d0" => :mavericks
    sha1 "4ae3d6485d114bab7e0ff293bd11939e5fd76d12" => :mountain_lion
  end

  devel do
    url "http://ftp.cuhk.edu.hk/pub/packages/news/tin/v2.3/tin-2.3.1.tar.gz"
    sha1 "bee82da1e349a6a3954ab63d82a193e510aa1ff9"
  end

  conflicts_with "mutt", :because => "both install mmdf.5 and mbox.5 man pages"

  def install
    ENV.enable_warnings
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make", "build"
    system "make", "install"
  end

  test do
    system "#{bin}/tin", "-H"
  end
end