summaryrefslogtreecommitdiff
path: root/homebrew/nethack/.beer
blob: 8a03af2cbdfb87476f002431872d556f206c7f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
    "name": "Nethack",
    "description": "Single-player roguelike video game",
    "url": "https://www.nethack.org/download/3.6.1/nethack-361-src.tgz",
    "mirror": null,
    "homepage": "https://www.nethack.org/",
    "depends": [],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.deparallelize",
        "cd \"sys/unix\" do",
        "if MacOS.version >= :yosemite",
        "hintfile = \"macosx10.10\"",
        "else",
        "hintfile = \"macosx10.7\"",
        "end",
        "inreplace \"hints/#{hintfile}\",",
        "/^HACKDIR=.*/,",
        "\"HACKDIR=#{libexec}\"",
        "system \"sh\", \"setup.sh\", \"hints/#{hintfile}\""
    ],
    "version": "361",
    "file": "nethack.rb"
}