2013-11-19 02:58:53 +00:00
|
|
|
class Batik < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Java-based toolkit for SVG images"
|
2015-03-17 14:28:20 +00:00
|
|
|
homepage "https://xmlgraphics.apache.org/batik/"
|
|
|
|
url "https://www.apache.org/dist/xmlgraphics/batik/binaries/batik-bin-1.8.zip"
|
|
|
|
sha256 "d1e5d6c08ef769bb53289250f17ba2d8b18a803d2a82aa082c8bbfae07c648f0"
|
2013-11-19 02:58:53 +00:00
|
|
|
|
|
|
|
def install
|
2015-03-17 14:28:20 +00:00
|
|
|
libexec.install "lib", Dir["*.jar"]
|
|
|
|
prefix.install_metafiles
|
2013-11-19 02:58:53 +00:00
|
|
|
|
2015-03-17 14:28:20 +00:00
|
|
|
bin.write_jar_script libexec/"batik-rasterizer-#{version}.jar", "batik-rasterizer"
|
|
|
|
bin.write_jar_script libexec/"batik-#{version}.jar", "batik"
|
|
|
|
bin.write_jar_script libexec/"batik-ttf2svg-#{version}.jar", "batik-ttf2svg"
|
2013-11-19 02:58:53 +00:00
|
|
|
end
|
|
|
|
end
|