epstool: avoid inreplace
This commit is contained in:
parent
c43862078d
commit
35ebd730d0
1 changed files with 4 additions and 6 deletions
|
@ -1,15 +1,13 @@
|
|||
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'
|
||||
url 'http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/epstool-3.08.tar.gz'
|
||||
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"
|
||||
system "make", "install",
|
||||
"EPSTOOL_ROOT=#{prefix}",
|
||||
"EPSTOOL_MANDIR=#{man}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue