2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-23 05:51:56 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Frotz < Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/frotz/frotz/2.43/frotz-2.43.tar.gz'
|
|
|
|
homepage 'http://frotz.sourceforge.net/'
|
|
|
|
md5 'efe51879e012b92bb8d5f4a82e982677'
|
2009-09-23 05:51:56 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
inreplace "Makefile" do |s|
|
|
|
|
s.remove_make_var! %w[CC OPTS]
|
|
|
|
s.change_make_var! "PREFIX", prefix
|
|
|
|
s.change_make_var! "CONFIG_DIR", etc
|
2011-02-28 19:12:00 +00:00
|
|
|
s.change_make_var! "MAN_PREFIX", share
|
2010-01-13 11:06:52 +00:00
|
|
|
end
|
2009-09-23 05:51:56 +00:00
|
|
|
|
|
|
|
system "make frotz"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|