# -*- 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 # $Id$ PortSystem 1.0 name mupdf version 1.0 revision 2 categories graphics platforms darwin maintainers nomaintainer license GPL-3+ 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 \ page on screen. \ \ 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 http://www.mupdf.com/ master_sites googlecode distname ${name}-${version}-source checksums rmd160 7820cf68552d64c52c7d08cdcf5a1965df39bd42 \ sha256 4f5e12625f7f827f6eb5606026c9a7a7dbdeaf935fcea3bc173ed8d469698ec2 depends_build port:pkgconfig depends_lib port:freetype \ port:jbig2dec \ port:jpeg \ port:openjpeg15 \ port:xorg-libXext \ port:zlib use_configure no build.env CC="${configure.cc}" \ CFLAGS="${configure.cflags} ${configure.cppflags} [get_canonical_archflags]" \ LDFLAGS="${configure.ldflags} [get_canonical_archflags]" \ OS=Linux \ verbose=1 destroot.destdir prefix=${destroot}${prefix} platform darwin 8 { depends_build-append port:gmake build.cmd ${prefix}/bin/gmake }