summaryrefslogtreecommitdiff
path: root/homebrew/lemon/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/lemon/.make.sh-auto')
-rw-r--r--homebrew/lemon/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/lemon/.make.sh-auto b/homebrew/lemon/.make.sh-auto
new file mode 100644
index 000000000..7959e2389
--- /dev/null
+++ b/homebrew/lemon/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+pkgshare.install "lempar.c"
+inreplace "lemon.c", / = pathsearch\([^)]*\);/, " = \"#{pkgshare}/lempar.c\";"
+ENV.cc -o lemon lemon.c
+bin.install "lemon"