aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXiyue Deng2012-12-28 19:02:20 -0800
committerAdam Vandenberg2013-01-13 18:25:53 -0800
commit0c0235082cfe626d04473661f5c19ac1247da8e0 (patch)
tree6c1e7659553af561bc4c1bc4b65629d8d3c76029 /Library
parentb9c63ec3adc7f798fdf803faf628571e5e6df507 (diff)
downloadhomebrew-0c0235082cfe626d04473661f5c19ac1247da8e0.tar.bz2
Make pdfjam use TeX requirement.
Closes #16568. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pdfjam.rb18
1 files changed, 1 insertions, 17 deletions
diff --git a/Library/Formula/pdfjam.rb b/Library/Formula/pdfjam.rb
index 6c9a1f794..19c915b38 100644
--- a/Library/Formula/pdfjam.rb
+++ b/Library/Formula/pdfjam.rb
@@ -1,28 +1,12 @@
require 'formula'
-class PdfLatexRequirement < Requirement
- def message; <<-EOS.undent
- pdfjam requires pdflatex to run. You can install this using MacTex:
- http://tug.org/mactex/
- EOS
- end
-
- def satisfied?
- which 'pdflatex'
- end
-
- def fatal?
- true
- end
-end
-
class Pdfjam < Formula
url 'http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam/pdfjam_208.tgz'
homepage 'http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam'
sha1 '981b504ef96369a203f85fefb42d4ea0d1194493'
version '2.08'
- depends_on PdfLatexRequirement.new
+ depends_on :tex
def install
bin.install Dir['bin/*']