summaryrefslogtreecommitdiff
path: root/homebrew/qwt/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/qwt/.make.sh-auto')
-rw-r--r--homebrew/qwt/.make.sh-auto4
1 files changed, 4 insertions, 0 deletions
diff --git a/homebrew/qwt/.make.sh-auto b/homebrew/qwt/.make.sh-auto
new file mode 100644
index 000000000..17ad740d9
--- /dev/null
+++ b/homebrew/qwt/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace "qwtconfig.pri" do |s|
+s.gsub! /^\s*QWT_INSTALL_PREFIX\s*=(.*)$/, "QWT_INSTALL_PREFIX=#{prefix}"
+s.sub! %r{(= \$\$\{QWT_INSTALL_PREFIX\})/(plugins/designer)$}, "\\1/lib/qt/\\2"