homebrew-core/Formula/antlr.rb

17 lines
379 B
Ruby
Raw Normal View History

require 'formula'
class Antlr < Formula
2011-06-14 00:33:34 +00:00
url "http://www.antlr.org/download/antlr-3.3-complete.jar"
version '3.3'
homepage 'http://www.antlr.org/'
md5 '238becce7da69f7be5c5b8a65558cf63'
def install
2011-06-14 00:33:34 +00:00
prefix.install "antlr-3.3-complete.jar"
(bin+"antlr-3.3").write <<-EOS.undent
#!/bin/sh
java -jar #{prefix}/antlr-3.3-complete.jar "$@"
EOS
end
2011-03-10 05:11:03 +00:00
end