homebrew-core/Formula/fondu.rb
Mike McQuaid 7a4dabfc1a Use hash rockets again. (#5177)
This restores 1.8 hash rockets because they look nicer with e.g. `depends_on :foo => :bar`
2016-09-24 16:45:48 +01:00

36 lines
1.2 KiB
Ruby

class Fondu < Formula
desc "Tools to convert between different font formats"
homepage "http://fondu.sourceforge.net/"
url "http://fondu.sourceforge.net/fondu_src-060102.tgz"
sha256 "22bb535d670ebc1766b602d804bebe7e84f907c219734e6a955fcbd414ce5794"
bottle do
cellar :any_skip_relocation
revision 1
sha256 "c4fadd6744370dc946b7dde1ec8329335146257ad60b829f9f4024912859d7db" => :el_capitan
sha256 "dfeddb29a48dcf4db6aaf8170b54137fb329e216a4f83f47ddf262a984ab469e" => :yosemite
sha256 "cc8bb3c5213b0b792929fa1658077da60717993f0dbdaa56c0fe6004930309f4" => :mavericks
end
conflicts_with "cspice", :because => "both install `tobin` binaries"
resource "cminch.ttf" do
url "http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/cminch.ttf"
sha256 "03aacbe19eac7d117019b6a6bf05197086f9de1a63cb4140ff830c40efebac63"
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--exec-prefix=#{prefix}"
system "make", "install"
man1.install Dir["*.1"]
end
test do
resource("cminch.ttf").stage do
system "#{bin}/ufond", "cminch.ttf"
end
end
end