502b5bd42c
t1utils gets an update to 1.37 from 1.35. This archive creates a group of CLI programs for manipulating Type 1 fonts, otherwise known as Adobe Type 1 or Postscript fonts. Added a brew test function and the --disable-dependency bit. Closes Homebrew/homebrew#7608. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
16 lines
406 B
Ruby
16 lines
406 B
Ruby
require 'formula'
|
|
|
|
class T1utils < Formula
|
|
url 'http://www.lcdf.org/type/t1utils-1.37.tar.gz'
|
|
homepage 'http://www.lcdf.org/type/'
|
|
sha256 '42bdce77aaf12b33ca6d193e01a2d2c0012f755435a6d25921f94733ee61cec3'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
|
|
def test
|
|
system "#{bin}/t1mac --version | head -1"
|
|
end
|
|
end
|