polygen 1.0.6-20040628

polygen: a random phrases generator

Closes Homebrew/homebrew#21344.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
master
Simone Contini 2013-07-20 08:25:58 +02:00 committed by Misty De Meo
parent 7d90f56b84
commit 0fd2cab34b
1 changed files with 19 additions and 0 deletions

19
Formula/polygen.rb Normal file
View File

@ -0,0 +1,19 @@
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