diff options
| author | Adam Vandenberg | 2013-06-18 08:06:57 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-18 08:06:57 -0700 |
| commit | 32775334f0a0bcd54a00198fc8c62c8b27ac5267 (patch) | |
| tree | e60c7bc3334448022cd172224f0ecb42aa3a6f42 /Library/Formula | |
| parent | 4725aae64e8300b6374d8b910ce9b6cfe1d089f7 (diff) | |
| download | homebrew-32775334f0a0bcd54a00198fc8c62c8b27ac5267.tar.bz2 | |
mupdf: use :macos
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mupdf.rb | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/Library/Formula/mupdf.rb b/Library/Formula/mupdf.rb index a6d9663f4..7c8940c71 100644 --- a/Library/Formula/mupdf.rb +++ b/Library/Formula/mupdf.rb @@ -1,26 +1,11 @@ require 'formula' -class NeedsSnowLeopard < Requirement - fatal true - - satisfy MacOS.version >= :snow_leopard - - def message; <<-EOS.undent - The version of Freetype that comes with Leopard is too old to build MuPDF - against. It is possible to get MuPDF working on Leopard using the Freetype - formula from Homebrew-Dupes and some tweaks to the Makefile. - - Doing so is left as an exercise for the reader. - EOS - end -end - class Mupdf < Formula homepage 'http://mupdf.com' url 'https://mupdf.googlecode.com/files/mupdf-1.2-source.zip' sha1 'd521382b80b3d1f7b8ad6e00ceb91721aa5e1917' - depends_on NeedsSnowLeopard + depends_on :macos => :snow_leopard depends_on 'jpeg' depends_on 'openjpeg' |
