# -*- 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 123975 2014-08-16 21:25:18Z khindenburg@macports.org $ PortSystem 1.0 name zathura-plugin-ps version 0.2.2 categories office platforms darwin license zlib maintainers gmail.com:starkhalo openmaintainer description The zathura-ps plugin adds PostScript support to zathura. long_description \ The zathura-ps plugin adds PostScript support to zathura by using the \ libspectre library. homepage http://pwmt.org/projects/zathura/plugins/ master_sites http://pwmt.org/projects/zathura-ps/download/ distname zathura-ps-${version} checksums \ rmd160 f6492979bc5d91b1963bc973d626ed72bebff87f \ sha256 e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8 patch.pre_args -p1 patchfiles patch-Makefile.diff \ patch-config.mk.diff depends_build port:pkgconfig depends_lib port:desktop-file-utils \ port:libspectre \ 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-ps-(\[0-9.\]+)${extract.suffix}