88779ade49
Closes Homebrew/homebrew#14653.
19 lines
526 B
Ruby
19 lines
526 B
Ruby
require 'formula'
|
|
|
|
class Sdf < Formula
|
|
url 'ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.17/sdf2-bundle-2.4.tar.gz'
|
|
homepage 'http://strategoxt.org/Sdf/WebHome'
|
|
sha1 'b9be75d56503e7f06fcc9cc543303bae123c0845'
|
|
|
|
depends_on 'aterm'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
# Man pages are distributed as 0B files.
|
|
# Delete them so they'll get recreated properly
|
|
rm %w(pgen/src/sdf2table.1 sglr/doc/sglr.1 sglr/doc/sglr-api.3)
|
|
|
|
system "make install"
|
|
end
|
|
end
|