homebrew-core/Formula/fop.rb
Max Howell f347a9ab48 Revert unintentional permissions changes
Not sure what caused this, but needless to say, it wasn't desired.
2011-07-27 10:58:46 +01:00

19 lines
434 B
Ruby

require 'formula'
class Fop < Formula
homepage "http://xmlgraphics.apache.org/fop/index.html"
url "http://www.apache.org/dyn/closer.cgi?path=/xmlgraphics/fop/binaries/fop-1.0-bin.tar.gz"
md5 "3186f93a314bdcb710bd7cb02d80404c"
def shim_script target
<<-EOS.undent
#!/bin/bash
#{libexec}/#{target} $*
EOS
end
def install
libexec.install Dir["*"]
(bin+'fop').write shim_script('fop')
end
end