diff options
| author | Adam Vandenberg | 2012-02-12 22:34:11 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-12 22:34:11 -0800 |
| commit | f43584143bb0cbf5c9cbd8cb836fc982bdc2a3e2 (patch) | |
| tree | 5c70deeaf9e81dfbfc9683d5d995fe648ab129f5 /Library/Formula | |
| parent | 81303d7cb65de5633e2eb7081d94726bd29115ae (diff) | |
| download | homebrew-f43584143bb0cbf5c9cbd8cb836fc982bdc2a3e2.tar.bz2 | |
epstool: avoid inreplace
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/epstool.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/epstool.rb b/Library/Formula/epstool.rb index 6d16a9166..8f00e40ca 100644 --- a/Library/Formula/epstool.rb +++ b/Library/Formula/epstool.rb @@ -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 |
