7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
18 lines
446 B
Ruby
18 lines
446 B
Ruby
require 'formula'
|
|
|
|
class Frotz <Formula
|
|
url 'http://downloads.sourceforge.net/project/frotz/frotz/2.43/frotz-2.43.tar.gz'
|
|
homepage 'http://frotz.sourceforge.net/'
|
|
md5 'efe51879e012b92bb8d5f4a82e982677'
|
|
|
|
def install
|
|
inreplace "Makefile" do |s|
|
|
s.remove_make_var! %w[CC OPTS]
|
|
s.change_make_var! "PREFIX", prefix
|
|
s.change_make_var! "CONFIG_DIR", etc
|
|
end
|
|
|
|
system "make frotz"
|
|
system "make install"
|
|
end
|
|
end
|