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

Last change on this file was 150674, checked in by devans@…, 16 months ago

zathura-plugin-djvu: maintainer update to version 0.2.5 (#51914).

  • 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 150674 2016-07-26 16:02:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           compiler_blacklist_versions 1.0
6
7name                zathura-plugin-djvu
8version             0.2.5
9categories          office
10platforms           darwin
11maintainers         gmail.com:starkhalo \
12                    openmaintainer
13license             zlib
14
15description         The zathura-djvu plugin adds DjVu support to zathura.
16
17long_description    The zathura-djvu plugin adds DjVu support to zathura by \
18                    using the djvulibre library.
19
20homepage            http://pwmt.org/projects/zathura/plugins/
21master_sites        http://pwmt.org/projects/zathura-djvu/download/
22distname            zathura-djvu-${version}
23
24checksums           rmd160  cddb68260f74ff406053c362f94b51caeae8f670 \
25                    sha256  08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d
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:djvulibre \
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-djvu-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.