summaryrefslogtreecommitdiff
path: root/homebrew/glulxe/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/glulxe/.make.sh-auto')
-rw-r--r--homebrew/glulxe/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/glulxe/.make.sh-auto b/homebrew/glulxe/.make.sh-auto
new file mode 100644
index 000000000..0eac72b12
--- /dev/null
+++ b/homebrew/glulxe/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+glk = Formula["glktermw"]
+inreplace "Makefile", "GLKINCLUDEDIR = ../cheapglk", "GLKINCLUDEDIR = #{glk.include}"
+inreplace "Makefile", "GLKLIBDIR = ../cheapglk", "GLKLIBDIR = #{glk.lib}"
+inreplace "Makefile", "Make.cheapglk", "Make.#{glk.name}"
+make
+bin.install "glulxe"