aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wkhtmltopdf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/wkhtmltopdf.rb')
-rw-r--r--Library/Formula/wkhtmltopdf.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/wkhtmltopdf.rb b/Library/Formula/wkhtmltopdf.rb
index 0fb2e6472..65bbb542e 100644
--- a/Library/Formula/wkhtmltopdf.rb
+++ b/Library/Formula/wkhtmltopdf.rb
@@ -6,23 +6,23 @@ class Wkhtmltopdf <Formula
md5 'df2bb84b7d15140ca14732898155dd6a'
depends_on 'qt'
-
- def install
+
+ def install
# fix that missing TEMP= include
inreplace 'wkhtmltopdf.pro' do |s|
s.gsub! 'TEMP = $$[QT_INSTALL_LIBS] libQtGui.prl', ''
s.gsub! 'include($$join(TEMP, "/"))', ''
end
-
+
# Always creates a uselles .app doh,
- # AFAIK this is fixed in 0.10.0beta
+ # AFAIK this is fixed in 0.10.0beta
wkhtml_bin = 'wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf'
wkhtml_man = "#{name}.1"
-
+
system "qmake"
system "make"
system "#{wkhtml_bin} --manpage > #{wkhtml_man}"
-
+
# install binary and man file
bin.install wkhtml_bin
man1.install wkhtml_man