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

class Compface < Formula
  homepage 'http://freecode.com/projects/compface'
  url 'http://ftp.xemacs.org/pub/xemacs/aux/compface-1.5.2.tar.gz'
  sha1 '72dad8774b3301a1562bdbd5b3c5536ebf86a03d'

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"

    system "make", "install"
  end

  test do
    system bin/"uncompface"
  end
end