# -*- 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
maintainers {gmail.com:starkhalo @harciga} openmaintainer
description lightweight PDF and XPS viewer and parser/rendering library
long_description MuPDF is a lightweight PDF and XPS viewer and \
parser/rendering library. \
The renderer in MuPDF is tailored for high-quality \
anti-aliased graphics. It renders text with metrics and \
spacing accurate to within fractions of a pixel for the \
highest fidelity in reproducing the look of a printed \
MuPDF is also small, fast, and yet complete. It supports \
PDF 1.7 with transparency, encryption, hyperlinks, \
annotations, search and many other bells and whistles. \
MuPDF can also read XPS documents (OpenXPS ECMA-388).
homepage https://www.mupdf.com/
master_sites ${homepage}downloads/archive/
distname ${name}-${version}-source
checksums rmd160 573307473a1ac81aca4519b0e57a7111aae7803f \
sha256 209474a80c56a035ce3f4958a63373a96fad75c927c7b1acdc553fc85855f00a \
depends_build port:pkgconfig
depends_lib port:freetype \
patchfiles patch-Makefile.diff \
build.args PREFIX=${prefix}
build.args-append CC=${configure.cc} \
XCFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
XLIBS="${configure.ldflags} [get_canonical_archflags ld]" \