aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRui Pereira2013-01-03 15:39:24 +0100
committerAdam Vandenberg2013-01-03 13:06:26 -0800
commitb306f1c2bdc3801c43fb7fd13069ec38b6c16e41 (patch)
tree74829fc332010f82e57b2ba3a80c76ff1368684e /Library/Formula
parent94e4baef24eedb0a91e9db0c6df728395ce12d1a (diff)
downloadhomebrew-b306f1c2bdc3801c43fb7fd13069ec38b6c16e41.tar.bz2
pdf2json: remove unused dependency
Only install the pdf2json binary. Closes #16871. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pdf2json.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/pdf2json.rb b/Library/Formula/pdf2json.rb
index b17f3fc5a..c1b617dd6 100644
--- a/Library/Formula/pdf2json.rb
+++ b/Library/Formula/pdf2json.rb
@@ -5,14 +5,12 @@ class Pdf2json < Formula
url 'http://pdf2json.googlecode.com/files/pdf2json-0.61.tar.gz'
sha1 'd7bfcf89ab82741ed014d3499fe7505d7168686d'
- depends_on 'xpdf'
-
def install
system "./configure", "--prefix=#{prefix}"
# Fix manpage install location. See:
# http://code.google.com/p/pdf2json/issues/detail?id=2
inreplace "Makefile", "/man/", "/share/man/"
system "make", "CC=#{ENV.cc}", "CXX=#{ENV.cxx}"
- system "make install"
+ bin.install 'src/pdf2json'
end
end