aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bashreduce.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bashreduce.rb')
-rw-r--r--Library/Formula/bashreduce.rb15
1 files changed, 4 insertions, 11 deletions
diff --git a/Library/Formula/bashreduce.rb b/Library/Formula/bashreduce.rb
index 4f82f961c..433545613 100644
--- a/Library/Formula/bashreduce.rb
+++ b/Library/Formula/bashreduce.rb
@@ -1,21 +1,14 @@
require 'formula'
class Bashreduce < Formula
- head 'https://github.com/erikfrey/bashreduce.git'
homepage 'https://github.com/erikfrey/bashreduce'
+ head 'https://github.com/erikfrey/bashreduce.git'
def install
+ bin.install "br"
Dir.chdir 'brutils' do
- inreplace "Makefile" do |s|
- s.change_make_var! 'CFLAGS', ENV.cflags
- s.change_make_var! 'BINDIR', bin
- end
-
- system "make"
- bin.install "brp"
- bin.install "brm"
+ system "make", "CFLAGS=#{ENV.cflags}", "BINDIR=#{bin}"
+ bin.install "brp", "brm"
end
-
- bin.install "br"
end
end