diff options
| author | Simone Contini | 2013-07-20 08:25:58 +0200 |
|---|---|---|
| committer | Misty De Meo | 2013-08-25 19:56:16 -0700 |
| commit | 3a62461c785a4f1a75248ae833a9b33dd9383578 (patch) | |
| tree | 4bd899fdc03ac91e6e2cbaa9c412478ec4b92370 /Library/Formula/polygen.rb | |
| parent | e59244628d16192211520e7e6a1714d10b661108 (diff) | |
| download | homebrew-3a62461c785a4f1a75248ae833a9b33dd9383578.tar.bz2 | |
polygen 1.0.6-20040628
polygen: a random phrases generator
Closes #21344.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula/polygen.rb')
| -rw-r--r-- | Library/Formula/polygen.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/polygen.rb b/Library/Formula/polygen.rb new file mode 100644 index 000000000..399e2d645 --- /dev/null +++ b/Library/Formula/polygen.rb @@ -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 |
