homebrew-core/Formula/antlr.rb

17 lines
379 B
Ruby
Raw Normal View History

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