summaryrefslogtreecommitdiff
path: root/homebrew/quex/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/quex/.make.sh-auto')
-rw-r--r--homebrew/quex/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/quex/.make.sh-auto b/homebrew/quex/.make.sh-auto
new file mode 100644
index 000000000..279eb07f3
--- /dev/null
+++ b/homebrew/quex/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+libexec.install "quex", "quex-exe.py"
+doc.install "README", "demo"
+(bin/"quex").write <<~EOS
+#!/bin/bash
+QUEX_PATH="#{libexec}" "#{libexec}/quex-exe.py" "$@"
+EOS
+man1.install "doc/manpage/quex.1"
+else
+man1.install "manpage/quex.1"
+end