# -*- 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 137248 2015-06-07 12:46:51Z khindenburg@macports.org $ PortSystem 1.0 name zathura-plugin-cb version 0.1.4 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 9219ded7822bbfb117b636fd13b57adfe116c4c4 \ sha256 f21cb140cce02b3ef8b23eff479a7f66285667ab47cdc099c10cd62eaf239626 patchfiles patch-Makefile.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 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 zathura-cb-(\[0-9.\]+)${extract.suffix}