summaryrefslogtreecommitdiff
path: root/homebrew/gitif/.beer
blob: 7a9ba72afdec70ddf09912d4b3cf9ab13ab4e2d5 (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
27
{
    "name": "GitIf",
    "description": "Glulx interpreter that is optimized for speed",
    "url": "https://ifarchive.org/if-archive/programming/glulx/interpreters/git/git-135.zip",
    "mirror": null,
    "homepage": "https://ifarchive.org/indexes/if-archiveXprogrammingXglulxXinterpretersXgit.html",
    "depends": [
        {
            "depend": "glktermw",
            "build-depend": true
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "glk = Formula[\"glktermw\"]",
        "inreplace \"Makefile\", \"GLK = cheapglk\", \"GLK = #{glk.name}\"",
        "inreplace \"Makefile\", \"GLKINCLUDEDIR = ../$(GLK)\", \"GLKINCLUDEDIR = #{glk.include}\"",
        "inreplace \"Makefile\", \"GLKLIBDIR = ../$(GLK)\", \"GLKLIBDIR = #{glk.lib}\"",
        "inreplace \"Makefile\", /^OPTIONS = /, \"OPTIONS = -DUSE_MMAP -DUSE_INLINE\"",
        "system \"make\"",
        "bin.install \"git\" => \"git-if\""
    ],
    "version": "135",
    "file": "git-if.rb"
}