2011-08-12 11:20:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ftimes < Formula
|
|
|
|
homepage 'http://ftimes.sourceforge.net/FTimes/index.shtml'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/ftimes/ftimes/3.10.0/ftimes-3.10.0.tgz'
|
2013-04-24 04:04:51 +00:00
|
|
|
sha1 '96a59d7524d6b2013d0dc42c91e3e5a420667398'
|
2011-08-12 11:20:55 +00:00
|
|
|
|
|
|
|
depends_on 'pcre'
|
|
|
|
|
|
|
|
def install
|
2012-03-16 02:29:40 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2013-04-12 22:41:06 +00:00
|
|
|
"--with-pcre=#{Formula.factory('pcre').opt_prefix}",
|
2011-08-12 11:20:55 +00:00
|
|
|
"--prefix=#{prefix}"
|
2011-08-28 03:21:35 +00:00
|
|
|
|
|
|
|
inreplace 'doc/ftimes/Makefile' do |s|
|
|
|
|
s.change_make_var! 'INSTALL_PREFIX', man1
|
|
|
|
end
|
|
|
|
|
2011-08-12 11:20:55 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|