# -*- 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: Portfile 150675 2016-07-26 16:15:43Z devans@macports.org $ PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 name zathura-plugin-pdf-poppler conflicts zathura-plugin-pdf-mupdf version 0.2.6 categories office platforms darwin license zlib maintainers gmail.com:starkhalo \ openmaintainer description The zathura-pdf-poppler plugin adds PDF support to zathura. long_description \ The zathura-pdf-poppler plugin adds PDF support to zathura by using the \ poppler rendering library. homepage http://pwmt.org/projects/zathura/plugins/ master_sites http://pwmt.org/projects/zathura-pdf-poppler/download/ distname zathura-pdf-poppler-${version} checksums rmd160 b458683f91eafdf6186a74d810c675cfeca00182 \ sha256 d1eb0c7a4f647c141192a2d7bf66413b9c5f1842463947ab87a8a1edcf8e58d5 patch.args -p1 patchfiles patch-Makefile.diff \ patch-config.mk.diff depends_build port:pkgconfig depends_lib port:desktop-file-utils \ port:poppler \ path:lib/libgirara-gtk3.dylib:girara \ path:bin/zathura:zathura use_configure no # blacklist compilers that don't support -std=c11 compiler.blacklist *gcc* {clang < 300} 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)