summaryrefslogtreecommitdiff
path: root/homebrew/qwt/.make.sh-auto
blob: 17ad740d9316009cf7fa095dbdd7d206e5b1a343 (plain)
1
2
3
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"