homebrew-core/Formula/ftimes.rb
Victor Martinez 8dc451e3e2 Fixed several broken sourceforge.net download locations
Closes Homebrew/homebrew#20645.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00

22 lines
645 B
Ruby

require 'formula'
class Ftimes < Formula
homepage 'http://ftimes.sourceforge.net/FTimes/index.shtml'
url 'http://downloads.sourceforge.net/project/ftimes/ftimes/3.10.0/ftimes-3.10.0.tgz'
sha1 '96a59d7524d6b2013d0dc42c91e3e5a420667398'
depends_on 'pcre'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--with-pcre=#{Formula.factory('pcre').opt_prefix}",
"--prefix=#{prefix}"
inreplace 'doc/ftimes/Makefile' do |s|
s.change_make_var! 'INSTALL_PREFIX', man1
end
system "make install"
end
end