mlton: binary install
A formula to install the binary build of MLton for Darwin amd64. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
ba760e81be
commit
1bcd34843b
1 changed files with 25 additions and 0 deletions
25
Formula/mlton.rb
Normal file
25
Formula/mlton.rb
Normal file
|
@ -0,0 +1,25 @@
|
|||
require 'formula'
|
||||
|
||||
# Installs the binary build of MLton.
|
||||
# Since MLton is written in ML, building from source
|
||||
# would require an existing ML compiler/interpreter for bootstrapping.
|
||||
|
||||
class Mlton < Formula
|
||||
# the dynamic macports version works fine with Homebrew's gmp
|
||||
url 'http://mlton.org/pages/Download/attachments/mlton-20100608-1.amd64-darwin.gmp-macports.tgz'
|
||||
homepage 'http://mxcl.github.com/homebrew/'
|
||||
md5 'e9007318bb77c246258a53690b1d3449'
|
||||
|
||||
depends_on 'gmp'
|
||||
|
||||
skip_clean :all
|
||||
|
||||
def install
|
||||
Dir.chdir "local" do
|
||||
# Remove OS X droppings
|
||||
rm Dir["man/man1/._*"]
|
||||
mv "man", "share"
|
||||
prefix.install Dir['*']
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue