From 0c0235082cfe626d04473661f5c19ac1247da8e0 Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Fri, 28 Dec 2012 19:02:20 -0800 Subject: Make pdfjam use TeX requirement. Closes #16568. Signed-off-by: Adam Vandenberg --- Library/Formula/pdfjam.rb | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'Library') 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/*'] -- cgit v1.2.3