aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/agrep.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/agrep.rb b/Library/Formula/agrep.rb
index 7f1995cb9..70ccfadec 100644
--- a/Library/Formula/agrep.rb
+++ b/Library/Formula/agrep.rb
@@ -1,17 +1,12 @@
require 'formula'
class Agrep < Formula
- url 'ftp://ftp.cs.arizona.edu/agrep/agrep-2.04.tar.Z'
homepage 'http://en.wikipedia.org/wiki/Agrep'
+ url 'ftp://ftp.cs.arizona.edu/agrep/agrep-2.04.tar.Z'
md5 'abc645404d3926a57c3f5e86a6e89ee9'
def install
- inreplace "Makefile" do |s|
- s.change_make_var! "CFLAGS", ENV.cflags
- end
-
- system "make"
-
+ system "make", "CFLAGS=#{ENV.cflags}"
bin.install "agrep"
man1.install "agrep.1"
end