aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/epstool.rb
blob: 6d16a9166a1550fff6ce89494bd3cf228829dcd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class Epstool < Formula
  url 'http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/epstool-3.08.tar.gz'
  homepage 'http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm'
  md5 '465a57a598dbef411f4ecbfbd7d4c8d7'

  def install
    inreplace 'makefile' do |s|
      s.change_make_var! "EPSTOOL_ROOT", prefix
      s.change_make_var! "EPSTOOL_MANDIR", man
    end
    system "make install"
  end
end