aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ftimes.rb
blob: 208afd0afc20bdb298231f4e2b874399419c507e (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 Ftimes < Formula
  url 'http://downloads.sourceforge.net/project/ftimes/ftimes/3.8.0/ftimes-3.8.0.tgz'
  homepage 'http://ftimes.sourceforge.net/FTimes/index.shtml'
  md5 'b4bc8a3c00b3aed9e9cc9583234ec6a7'

  depends_on 'pcre'
  depends_on 'openssl'

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

    inreplace 'doc/ftimes/Makefile' do |s|
      s.change_make_var! 'INSTALL_PREFIX', man1
    end

    system "make install"
  end
end