From c81ba195eeaeeaa77bab5f7e084d6daa17bd0fde Mon Sep 17 00:00:00 2001 From: Martin Plöger Date: Wed, 11 Aug 2010 23:06:11 +0200 Subject: Added Antlr Formula Signed-off-by: Adam Vandenberg --- Library/Formula/antlr.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Library/Formula/antlr.rb (limited to 'Library/Formula') diff --git a/Library/Formula/antlr.rb b/Library/Formula/antlr.rb new file mode 100644 index 000000000..706644f12 --- /dev/null +++ b/Library/Formula/antlr.rb @@ -0,0 +1,14 @@ +require 'formula' + +class Antlr < Formula + version '3.2' + url "http://www.antlr.org/download/antlr-#{version}.jar" + homepage 'http://www.antlr.org/' + md5 'ee7dc3fb20cf3e9efd871e297c0d532b' + + def install + prefix.install "antlr-#{version}.jar" + #Add an executable shell-script + (bin + "antlr-#{version}").write "#!/bin/sh\njava -jar #{prefix}/antlr-#{version}.jar $*" + end +end \ No newline at end of file -- cgit v1.2.3