1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name mupdf |
---|
7 | version 1.4 |
---|
8 | categories graphics |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:starkhalo |
---|
11 | license GPL-3+ |
---|
12 | |
---|
13 | description lightweight PDF and XPS viewer and parser/rendering library |
---|
14 | |
---|
15 | long_description MuPDF is a lightweight PDF and XPS viewer and \ |
---|
16 | parser/rendering library. \ |
---|
17 | \ |
---|
18 | The renderer in MuPDF is tailored for high-quality \ |
---|
19 | anti-aliased graphics. It renders text with metrics and \ |
---|
20 | spacing accurate to within fractions of a pixel for the \ |
---|
21 | highest fidelity in reproducing the look of a printed \ |
---|
22 | page on screen. \ |
---|
23 | \ |
---|
24 | MuPDF is also small, fast, and yet complete. It supports \ |
---|
25 | PDF 1.7 with transparency, encryption, hyperlinks, \ |
---|
26 | annotations, search and many other bells and whistles. \ |
---|
27 | MuPDF can also read XPS documents (OpenXPS ECMA-388). |
---|
28 | |
---|
29 | homepage http://www.mupdf.com/ |
---|
30 | |
---|
31 | master_sites ${homepage}downloads/ |
---|
32 | distname ${name}-${version}-source |
---|
33 | |
---|
34 | checksums rmd160 368140a0f825483268faaf778328bc6c3f4d461f \ |
---|
35 | sha256 018bab9520b5e93bb33ab07b0472fdf9f768c5801769f95b9a696941b633ec22 |
---|
36 | |
---|
37 | use_configure no |
---|
38 | |
---|
39 | depends_build port:pkgconfig |
---|
40 | |
---|
41 | depends_lib port:freetype \ |
---|
42 | port:jbig2dec \ |
---|
43 | port:jpeg \ |
---|
44 | port:openjpeg \ |
---|
45 | port:xorg-libXext \ |
---|
46 | port:zlib |
---|
47 | |
---|
48 | build.args PREFIX=${prefix} |
---|
49 | build.args-append CC=${configure.cc} \ |
---|
50 | CXX=${configure.cxx} \ |
---|
51 | CPP=${configure.cpp} |
---|
52 | build.env build=release \ |
---|
53 | HAVE_CURL=no \ |
---|
54 | verbose=1 |
---|
55 | |
---|
56 | destroot.destdir prefix=${destroot}${prefix} |
---|
57 | |
---|
58 | livecheck.type regex |
---|
59 | livecheck.url ${master_sites} |
---|
60 | livecheck.regex ${name}-(\\d\\.\\d)-source |
---|