blob: 27cbf560e0f38b3a4c5e45fed2e02ed8e2f6db16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | 
require 'formula'
class Ps2eps < Formula
  homepage 'http://www.tm.uka.de/~bless/ps2eps'
  url 'http://www.tm.uka.de/~bless/ps2eps-1.68.tar.gz'
  sha1 '253b949b70e73beb68760aafc5a20357db17371a'
  depends_on 'ghostscript'
  skip_clean 'bin' # Don't strip +x on ps2eps
  def install
    system "#{ENV.cc} #{ENV.cflags} src/C/bbox.c -obbox"
    bin.install 'bin/ps2eps'
    bin.install 'bbox'
    share.install Dir['doc/man']
    doc.install Dir['doc/pdf']
    doc.install Dir['doc/html']
  end
end
  |