# -*- 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 PortGroup compiler_blacklist_versions 1.0 name zathura version 0.3.6 categories office platforms darwin license zlib maintainers gmail.com:starkhalo \ openmaintainer description Zathura is a highly customizable and functional document viewer. long_description \ Zathura is a highly customizable and functional document viewer. It \ provides a minimalistic and space saving interface as well as an easy \ usage that mainly focuses on keyboard interaction. Zathura uses a plug- \ in based system for supported document types. Zathura makes it possible \ to completely view and navigate through different documents without a \ mouse. It supports bi-directional SyncTeX, as well as quickmarks, book- \ marks and automatic document reloading. Almost everything in Zathura is \ customizable. homepage http://pwmt.org/projects/zathura/ master_sites ${homepage}download/ checksums rmd160 a8614748399daac49a871b345c14d6f3f5390472 \ sha256 086a8be25d538fc6539fbee8f01ecf16d25819dfaad50cd2dbd84e30152ccb3b depends_build port:pkgconfig depends_lib port:desktop-file-utils \ path:lib/libglib-2.0.dylib:glib2 \ port:gtk3 \ port:intltool \ port:sqlite3 \ port:libmagic \ path:lib/libgirara-gtk3.dylib:girara 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 eval destroot.env ${build.env} eval 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)