aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-02-09 21:36:56 -0600
committerJack Nagel2012-02-09 21:36:56 -0600
commit4b64407639fa1cc23ff689def2d267b9eb7950e7 (patch)
tree5a8e4d12cf6652171d5431cc49c8761dea48eb92 /Library/Formula
parent3d808031c709f9a9af8dd6f8c9b21e8579a36aed (diff)
downloadhomebrew-4b64407639fa1cc23ff689def2d267b9eb7950e7.tar.bz2
agrep: style cleanups
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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