summaryrefslogtreecommitdiff
path: root/homebrew/mlton/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mlton/.make.sh-auto')
-rw-r--r--homebrew/mlton/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/mlton/.make.sh-auto b/homebrew/mlton/.make.sh-auto
new file mode 100644
index 000000000..35e649860
--- /dev/null
+++ b/homebrew/mlton/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+bootstrap = buildpath/"bootstrap"
+resource("bootstrap").stage do
+args = %W[WITH_GMP=#{Formula["gmp"].opt_prefix} PREFIX=#{bootstrap} MAN_PREFIX_EXTRA=/share ]
+make *(args + ["DESTDIR=${PKG_DEST} install"])