# -*- 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-plugin-cb version 0.1.5 categories office platforms darwin license zlib maintainers gmail.com:starkhalo \ openmaintainer description The zathura-ps plugin adds comic book support to zathura. long_description \ The zathura-ps plugin adds comic book support to zathura by using the \ libarchive library. homepage http://pwmt.org/projects/zathura/plugins/ master_sites http://pwmt.org/projects/zathura-cb/download/ distname zathura-cb-${version} checksums rmd160 5e7552e84df9a66000462449d439b2e845515697 \ sha256 375f6912bd79648603bad51c3635ce28eaca7bf4df521c00ff9673d9b4ff6afd patch.pre_args -p1 patchfiles patch-Makefile.diff \ patch-config.mk.diff depends_build port:pkgconfig depends_lib port:desktop-file-utils \ port:libarchive \ 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 [lindex ${master_sites} 0] livecheck.regex zathura-cb-(\[0-9.\]+)${extract.suffix}