aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/comparepdf.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/comparepdf.rb b/Library/Formula/comparepdf.rb
new file mode 100644
index 000000000..314b11c9d
--- /dev/null
+++ b/Library/Formula/comparepdf.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Comparepdf < Formula
+ homepage 'http://www.qtrac.eu/comparepdf.html'
+ url 'http://www.qtrac.eu/comparepdf-1.0.1.tar.gz'
+ sha1 '01774dac78dca9b712d55bfdbaf58c4b0bd31295'
+
+ depends_on 'qt'
+ depends_on 'poppler' => 'with-qt4'
+
+ def install
+ # Generate makefile and disable .app creation
+ system 'qmake -spec macx-g++ CONFIG-=app_bundle'
+ system 'make'
+
+ bin.install 'comparepdf'
+ man1.install 'comparepdf.1'
+ end
+end