source: trunk/dports/office/zathura-plugin-cb/Portfile

Last change on this file was 150673, checked in by devans@…, 12 months ago

zathura-plugin-cb: maintainer update to version 0.1.5 (#51913).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 150673 2016-07-26 15:46:40Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compiler_blacklist_versions 1.0
6
7name                zathura-plugin-cb
8version             0.1.5
9categories          office
10platforms           darwin
11license             zlib
12maintainers         gmail.com:starkhalo \
13                    openmaintainer
14description         The zathura-ps plugin adds comic book support to zathura.
15long_description \
16    The zathura-ps plugin adds comic book support to zathura by using the \
17    libarchive library.
18
19homepage            http://pwmt.org/projects/zathura/plugins/
20
21master_sites        http://pwmt.org/projects/zathura-cb/download/
22distname            zathura-cb-${version}
23
24checksums           rmd160  5e7552e84df9a66000462449d439b2e845515697 \
25                    sha256  375f6912bd79648603bad51c3635ce28eaca7bf4df521c00ff9673d9b4ff6afd
26
27patch.pre_args      -p1
28patchfiles          patch-Makefile.diff \
29                    patch-config.mk.diff
30
31depends_build       port:pkgconfig
32
33depends_lib         port:desktop-file-utils \
34                    port:libarchive \
35                    path:lib/libgirara-gtk3.dylib:girara \
36                    path:bin/zathura:zathura
37
38use_configure       no
39
40# blacklist compilers that don't support -std=c11
41compiler.blacklist  *gcc* {clang < 300}
42
43variant universal   {}
44
45build.args          PREFIX=${prefix}
46build.env           CC=${configure.cc} \
47                    CXX=${configure.cxx} \
48                    CPP=${configure.cpp} \
49                    CFLAGS="[get_canonical_archflags cc]" \
50                    LDFLAGS="[get_canonical_archflags ld]" \
51                    VERBOSE=1
52
53destroot.env        {*}${build.env}
54destroot.args       {*}${build.args}
55
56post-activate {
57    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
58}
59
60livecheck.type      regex
61livecheck.url       [lindex ${master_sites} 0]
62livecheck.regex     zathura-cb-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.