# -*- 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 zathura-plugin-pdf-mupdf version 0.3.0 categories office platforms darwin license zlib maintainers gmail.com:starkhalo \ openmaintainer conflicts zathura-plugin-pdf-poppler description The zathura-pdf-mupdf plugin adds PDF support to zathura. long_description \ The zathura-pdf-mupdf plugin adds PDF support to zathura by using the \ mupdf rendering library. homepage http://pwmt.org/projects/zathura/plugins/ master_sites http://pwmt.org/projects/zathura-pdf-mupdf/download/ distname zathura-pdf-mupdf-${version} checksums rmd160 377e7848a5ea7f43f020e131aacc24c51453bf8f \ sha256 478cb9d1562d08e096ebec4a6db9116d616a3536260197c2a28a2772171f72c8 patch.pre_args -p1 patchfiles patch-mupdf.diff \ patch-Makefile.diff \ patch-config.mk.diff depends_build port:pkgconfig \ path:lib/libmupdfthird.a:mupdf depends_lib port:desktop-file-utils \ port:mupdf \ port:openjpeg \ port:freetype \ port:harfbuzz \ path:lib/libgirara-gtk3.dylib:girara \ path:bin/zathura:zathura use_configure no variant universal {} build.args PREFIX=${prefix} build.env CC=${configure.cc} \ CXX=${configure.cxx} \ CPP=${configure.cpp} \ CFLAGS="[get_canonical_archflags cc]" \ LDFLAGS="[get_canonical_archflags ld]" \ VERBOSE=1 destroot.env {*}${build.env} destroot.args {*}${build.args} post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } livecheck.type regex livecheck.url ${master_sites} livecheck.regex (\\d\\.\\d\\.\\d)