source: trunk/dports/office/zathura-plugin-pdf-poppler/Portfile

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

zathura-plugin-pdf-poppler: maintainer update to version 0.2.6 (#51915).

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