diff options
Diffstat (limited to 'homebrew/dungeon/.beer')
-rw-r--r-- | homebrew/dungeon/.beer | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/dungeon/.beer b/homebrew/dungeon/.beer new file mode 100644 index 000000000..f572f3f0b --- /dev/null +++ b/homebrew/dungeon/.beer @@ -0,0 +1,27 @@ +{ + "name": "Dungeon", + "description": "The classic text adventure", + "url": "https://github.com/GOFAI/dungeon/archive/4.0.tar.gz", + "mirror": null, + "homepage": "https://github.com/GOFAI/dungeon", + "depends": [ + { + "depend": "gcc", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "chdir \"src\" do", + "inreplace \"game.f\" do |s|", + "s.gsub! \"FILE='dindx',STATUS='OLD',\", \"FILE='#{opt_pkgshare}/dindx',\"", + "s.gsub! \"1\\tFORM='FORMATTED',ACCESS='SEQUENTIAL',ERR=1900)\", \"1\\tSTATUS='OLD',FORM='FORMATTED',", + "\\t2\\tACCESS='SEQUENTIAL',ERR=1900)\"", + "s.gsub! \"FILE='dtext',STATUS='OLD',\", \"FILE='#{opt_pkgshare}/dtext',\"", + "s.gsub! \"1\\tFORM='UNFORMATTED',ACCESS='DIRECT',\", \"1\\tSTATUS='OLD',FORM='UNFORMATTED',ACCESS='DIRECT',\"" + ], + "version": "4.0", + "file": "dungeon.rb" +}
\ No newline at end of file |