homebrew-core/Formula/ftimes.rb

23 lines
638 B
Ruby
Raw Normal View History

2014-08-17 16:32:01 +00:00
require "formula"
class Ftimes < Formula
2014-08-17 16:32:01 +00:00
homepage "http://ftimes.sourceforge.net/FTimes/index.shtml"
url "https://downloads.sourceforge.net/project/ftimes/ftimes/3.11.0/ftimes-3.11.0.tgz"
sha1 "83ec09be7978d1a834f57bdb64c54d4a98a88536"
2014-08-17 16:32:01 +00:00
depends_on "pcre"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
2014-02-25 05:49:54 +00:00
"--with-pcre=#{Formula['pcre'].opt_prefix}",
"--prefix=#{prefix}"
2014-08-17 16:32:01 +00:00
inreplace "doc/ftimes/Makefile" do |s|
s.change_make_var! "INSTALL_PREFIX", man1
end
system "make install"
end
end