diff options
| author | Adam Vandenberg | 2009-09-22 22:51:56 -0700 |
|---|---|---|
| committer | Max Howell | 2009-09-25 19:22:02 +0100 |
| commit | 84abdce9a8fef51c689393db033785320b9c5b90 (patch) | |
| tree | 32e74d3e550a80870ed2b3a38941df168dd875cb /Library/Formula/frotz.rb | |
| parent | 177bd8f4a8ae32d13e254af344de99b1a8cff03f (diff) | |
| download | homebrew-84abdce9a8fef51c689393db033785320b9c5b90.tar.bz2 | |
Formula for frotz
Diffstat (limited to 'Library/Formula/frotz.rb')
| -rw-r--r-- | Library/Formula/frotz.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/frotz.rb b/Library/Formula/frotz.rb new file mode 100644 index 000000000..5d4cbd559 --- /dev/null +++ b/Library/Formula/frotz.rb @@ -0,0 +1,17 @@ +require 'brewkit' + +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", "CC = gcc", "" + inreplace "Makefile", "OPTS = -O2", "" + inreplace "Makefile", "PREFIX = /usr/local", "PREFIX = #{prefix}" + inreplace "Makefile", "CONFIG_DIR = /usr/local/etc", "" + + system "make frotz" + system "make install" + end +end |
