7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
16 lines
359 B
Ruby
16 lines
359 B
Ruby
require 'formula'
|
|
|
|
class Hevea <Formula
|
|
url 'http://hevea.inria.fr/distri/hevea-1.10.tar.gz'
|
|
homepage 'http://hevea.inria.fr/'
|
|
md5 '24a631570bee3cc4b8350e9db39be62b'
|
|
|
|
depends_on 'objective-caml'
|
|
depends_on 'ghostscript' => :optional
|
|
|
|
def install
|
|
inreplace 'Makefile', '/usr/local', prefix
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|