homebrew-core/Formula/polygen.rb
Simone Contini 0fd2cab34b polygen 1.0.6-20040628
polygen: a random phrases generator

Closes Homebrew/homebrew#21344.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-08-25 19:56:16 -07:00

19 lines
541 B
Ruby

require 'formula'
class Polygen < Formula
homepage 'http://www.polygen.org'
url 'http://www.polygen.org/dist/polygen-1.0.6-20040628-src.zip'
sha1 'a9b397f32f22713c0a98b20c9421815e0a4e1293'
depends_on 'objective-caml' => :build
def install
cd 'src' do
# BSD echo doesn't grok -e, which the makefile tries to use,
# with weird results; see https://github.com/mxcl/homebrew/pull/21344
inreplace 'Makefile', '-e "open Absyn\n"', '"open Absyn"'
system 'make'
bin.install 'polygen'
end
end
end