summaryrefslogtreecommitdiff
path: root/homebrew/glktermw/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/glktermw/.make.sh-auto')
-rw-r--r--homebrew/glktermw/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/glktermw/.make.sh-auto b/homebrew/glktermw/.make.sh-auto
new file mode 100644
index 000000000..c4624cfa8
--- /dev/null
+++ b/homebrew/glktermw/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+inreplace "gtoption.h", "/* #define LOCAL_NCURSESW */", "#define LOCAL_NCURSESW"
+inreplace "Makefile", "-lncursesw", "-lncurses"
+make
+lib.install "libglktermw.a"
+include.install "glk.h", "glkstart.h", "gi_blorb.h", "gi_dispa.h", "Make.glktermw"