aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-09 19:22:29 -0700
committerAdam Vandenberg2014-03-09 19:22:29 -0700
commit5cb8d43dae90c28558aaae84af922bf0a9ef665e (patch)
tree08c82296bcf0f211ae85f479651ae9cd56f8a069 /Library/Formula
parent3399f6b62d48f2f7107a7614e0acf975f5bd78e9 (diff)
downloadhomebrew-5cb8d43dae90c28558aaae84af922bf0a9ef665e.tar.bz2
Move mlton, mlkit, urweb to the boneyard.
mlton is a binary-only formula that only works when installed to /usr/local. Moving it, and things that depend on it to the boneyard. Closes #21780.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mlkit.rb25
-rw-r--r--Library/Formula/mlton.rb38
-rw-r--r--Library/Formula/urweb.rb35
3 files changed, 0 insertions, 98 deletions
diff --git a/Library/Formula/mlkit.rb b/Library/Formula/mlkit.rb
deleted file mode 100644
index f9a44b202..000000000
--- a/Library/Formula/mlkit.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-require 'formula'
-
-class Mlkit < Formula
- homepage 'http://sourceforge.net/apps/mediawiki/mlkit'
- url 'https://downloads.sourceforge.net/project/mlkit/mlkit-4.3.7/mlkit-4.3.7.tgz'
- sha1 '7c1f69f0cde271f50776d33b194699b403bab598'
-
- depends_on :autoconf => :build
- depends_on 'mlton' => :build
- depends_on :tex
- depends_on 'gmp'
-
- def install
- system "./autobuild; true"
- system "./configure", "--prefix=#{prefix}"
- ENV.m32
- system "make mlkit"
- system "make mlkit_libs"
- system "make install"
- end
-
- test do
- system "#{bin}/mlkit", "-V"
- end
-end
diff --git a/Library/Formula/mlton.rb b/Library/Formula/mlton.rb
deleted file mode 100644
index f4c2d051c..000000000
--- a/Library/Formula/mlton.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-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 StandardHomebrewLocation < Requirement
- satisfy HOMEBREW_PREFIX.to_s == "/usr/local"
-
- def message; <<-EOS.undent
- mlton won't work outside of /usr/local
-
- Because this uses pre-compiled binaries, it will not work if
- Homebrew is installed somewhere other than /usr/local; mlton
- will be unable to find GMP.
- EOS
- end
-end
-
-class Mlton < Formula
- homepage 'http://mlton.org'
- url 'https://downloads.sourceforge.net/project/mlton/mlton/20130715/mlton-20130715-1.amd64-darwin.gmp-static.tgz'
- sha1 'b3b13e0a606bf42d62d4d028687336106ada160a'
-
- # We download and install the version of MLton which is statically linked to libgmp, but all
- # generated executables will require gmp anyway, hence the dependency
- depends_on StandardHomebrewLocation
- depends_on 'gmp'
-
- def install
- cd "local" do
- # Remove OS X droppings
- rm Dir["man/man1/._*"]
- mv "man", "share"
- prefix.install Dir['*']
- end
- end
-end
diff --git a/Library/Formula/urweb.rb b/Library/Formula/urweb.rb
deleted file mode 100644
index d2dead366..000000000
--- a/Library/Formula/urweb.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require 'formula'
-
-class Urweb < Formula
- homepage 'http://impredicative.com/ur/'
- url 'http://impredicative.com/ur/urweb-20130421.tgz'
- sha1 '944165b5f5f638ae54d804e4957618e1ae257b81'
- head 'http://hg.impredicative.com/urweb', :using => :hg
-
- depends_on :autoconf
- depends_on :automake
- depends_on :libtool
- depends_on 'mlton'
- depends_on :postgresql => :optional
- depends_on :mysql => :optional
-
- def install
- # The autoconf-generated shell scripts in the tarball
- # are out of sync with our dependencies and force odd
- # reconfigures and failures when running 'make.' It's better
- # to just regenerate them and go for it.
- system "aclocal"
- system "autoreconf -i --force"
- system "./configure", "--prefix=#{prefix}"
- system "make"
- system "make install"
- end
-
- def caveats; <<-EOS.undent
- Programs generated by the Ur/Web compiler can use SQLite,
- PostgreSQL, or MySQL for the data store. You probably want to
- install either PostgreSQL or MySQL if you're going to deploy
- real apps or test them heavily.
- EOS
- end
-end