From f43584143bb0cbf5c9cbd8cb836fc982bdc2a3e2 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 12 Feb 2012 22:34:11 -0800 Subject: epstool: avoid inreplace --- Library/Formula/epstool.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3