blob: 90dc7e5b88582d9f07f2ef08e32e9ec20412aad0 (
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
 | require 'formula'
class Uudeview < Formula
  homepage 'http://www.fpx.de/fp/Software/UUDeview/'
  url 'http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz'
  sha1 '2c6ab7d355b545218bd0877d598bd5327d9fd125'
  # Fix function signatures (for clang)
  patch :p0 do
    url "https://trac.macports.org/export/102865/trunk/dports/mail/uudeview/files/inews.c.patch"
    sha1 "a21eb4f1081de31099bffbbb3161ca74ca81bad5"
  end
  def install
    system "./configure", "--prefix=#{prefix}",
                          "--mandir=#{man}",
                          "--disable-tcl"
    system "make install"
  end
  test do
    system "#{bin}/uudeview", "-V"
  end
end
 |