aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-05-05 11:47:00 -0700
committerAdam Vandenberg2011-05-12 07:42:47 -0700
commitdcf188280f78e8f2c5a9fd73d15a02f14fea510d (patch)
tree13155563311e6683a1c5b3f8091ae28a77fc32f7 /Library/Formula
parente27a746d457f3a0d513ab46032cb190d6e3f1539 (diff)
downloadhomebrew-dcf188280f78e8f2c5a9fd73d15a02f14fea510d.tar.bz2
QWT 6.0.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qwt.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/qwt.rb b/Library/Formula/qwt.rb
index af233d4b1..2a6f56aea 100644
--- a/Library/Formula/qwt.rb
+++ b/Library/Formula/qwt.rb
@@ -1,15 +1,16 @@
require 'formula'
class Qwt < Formula
- url 'http://sourceforge.net/projects/qwt/files/qwt/5.2.1/qwt-5.2.1.tar.bz2'
+ url 'http://sourceforge.net/projects/qwt/files/qwt/6.0.0/qwt-6.0.0.tar.bz2'
homepage 'http://qwt.sourceforge.net/'
- md5 '4a595b8db0ec3856b117836c1d60cb27'
+ md5 '1795cf075ebce3ae048255d2060cbac0'
depends_on 'qt'
def install
inreplace 'qwtconfig.pri' do |s|
- s.gsub! /\/usr\/local\/qwt-5\.2\.1/, prefix
+ # change_make_var won't work because there are leading spaces
+ s.gsub! /^\s*QWT_INSTALL_PREFIX\s*=(.*)$/, "QWT_INSTALL_PREFIX=#{prefix}"
end
system "qmake -config release"