diff options
Diffstat (limited to 'homebrew/gitif')
-rw-r--r-- | homebrew/gitif/.beer | 27 | ||||
-rw-r--r-- | homebrew/gitif/.make.sh-auto | 8 | ||||
-rw-r--r-- | homebrew/gitif/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/gitif/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/gitif/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/gitif/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/gitif/download.sh | 1 |
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/gitif/.beer b/homebrew/gitif/.beer new file mode 100644 index 000000000..7a9ba72af --- /dev/null +++ b/homebrew/gitif/.beer @@ -0,0 +1,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" +}
\ No newline at end of file diff --git a/homebrew/gitif/.make.sh-auto b/homebrew/gitif/.make.sh-auto new file mode 100644 index 000000000..e681bd278 --- /dev/null +++ b/homebrew/gitif/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +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" +make +bin.install "git" => "git-if" diff --git a/homebrew/gitif/_metadata/description b/homebrew/gitif/_metadata/description new file mode 100644 index 000000000..a773aa35d --- /dev/null +++ b/homebrew/gitif/_metadata/description @@ -0,0 +1 @@ +Glulx interpreter that is optimized for speed diff --git a/homebrew/gitif/_metadata/homepage b/homebrew/gitif/_metadata/homepage new file mode 100644 index 000000000..3f1ec01a5 --- /dev/null +++ b/homebrew/gitif/_metadata/homepage @@ -0,0 +1 @@ +https://ifarchive.org/indexes/if-archiveXprogrammingXglulxXinterpretersXgit.html diff --git a/homebrew/gitif/_metadata/name b/homebrew/gitif/_metadata/name new file mode 100644 index 000000000..013757485 --- /dev/null +++ b/homebrew/gitif/_metadata/name @@ -0,0 +1 @@ +GitIf diff --git a/homebrew/gitif/_metadata/version b/homebrew/gitif/_metadata/version new file mode 100644 index 000000000..c8b255fc8 --- /dev/null +++ b/homebrew/gitif/_metadata/version @@ -0,0 +1 @@ +135 diff --git a/homebrew/gitif/download.sh b/homebrew/gitif/download.sh new file mode 100755 index 000000000..581b55624 --- /dev/null +++ b/homebrew/gitif/download.sh @@ -0,0 +1 @@ +wget https://ifarchive.org/if-archive/programming/glulx/interpreters/git/git-135.zip
\ No newline at end of file |