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

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

zathura-plugin-ps: maintainer update to version 0.2.3 (#51916).

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