diff options
| author | Devin Weaver | 2010-07-14 18:47:06 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-14 17:05:40 -0700 |
| commit | 871bdc4d7d63bd5f00cad7b47a9f74bd161c0e53 (patch) | |
| tree | 3cd538f480f7db62795f2295f3409ece25136094 /Library | |
| parent | 96c7ebfac3d6a92d6e2c729a6aaa1e0629f66283 (diff) | |
| download | homebrew-871bdc4d7d63bd5f00cad7b47a9f74bd161c0e53.tar.bz2 | |
Adds New Formaula: avanor
Avanor is a (not so) quick-growing roguelike game with easy
ADOM-like user interface
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/avanor.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/avanor.rb b/Library/Formula/avanor.rb new file mode 100644 index 000000000..2ff4ed17b --- /dev/null +++ b/Library/Formula/avanor.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Avanor <Formula + url 'http://downloads.sourceforge.net/project/avanor/avanor/0.5.8/avanor-0.5.8-src.tar.bz2' + homepage 'http://avanor.sourceforge.net/' + md5 '20067962b9635b1789933ddd7933d142' + + def install + inreplace 'Makefile' do |contents| + contents.gsub! "CC = gpp", "CC = cpp" + contents.gsub! "LD = gpp", "LD = cpp" + contents.gsub! "$(DATA_DIR)", (share+"avanor") + end + + system "make" + bin.install "avanor" + (share+"avanor").install "manual" + end +end |
