aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-21 13:03:38 -0700
committerAdam Vandenberg2011-03-21 13:07:15 -0700
commit2b24ca6ba10af302be0deef1837adc5b2e2c9724 (patch)
treec7526408dfb2123cd5634cff9779a28658262af4 /Library/Formula
parent7728c8304ebed4975eac5265adea797acdbc4974 (diff)
downloadhomebrew-2b24ca6ba10af302be0deef1837adc5b2e2c9724.tar.bz2
qhull: audit warnings
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qhull.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/qhull.rb b/Library/Formula/qhull.rb
index ac63d7ec5..18e510037 100644
--- a/Library/Formula/qhull.rb
+++ b/Library/Formula/qhull.rb
@@ -1,17 +1,17 @@
require 'formula'
-class Qhull <Formula
+class Qhull < Formula
url 'http://www.qhull.org/download/qhull-2010.1-src.tgz'
homepage 'http://www.qhull.org/'
md5 'e64138470acdeb18f752a0bc2a11ceb4'
def install
cd "./src"
- ENV['MANDIR']=man
- ENV['BINDIR']=bin
+ ENV['MANDIR'] = man
+ ENV['BINDIR'] = bin
system "make -e -f Makefile"
- mkdir_p man
- mkdir_p bin
+ man.mkpath
+ bin.mkpath
system "make -e -f Makefile install"
(include+'qhull').install Dir['*.h']
lib.install 'libqhull.a'