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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name zathura-plugin-cb |
---|
7 | version 0.1.2 |
---|
8 | categories office |
---|
9 | platforms darwin |
---|
10 | license zlib |
---|
11 | maintainers gmail.com:starkhalo openmaintainer |
---|
12 | description The zathura-ps plugin adds comic book support to zathura. |
---|
13 | long_description \ |
---|
14 | The zathura-ps plugin adds comic book support to zathura by using the \ |
---|
15 | libarchive library. |
---|
16 | |
---|
17 | homepage http://pwmt.org/projects/zathura/plugins/ |
---|
18 | |
---|
19 | master_sites http://pwmt.org/projects/zathura-cb/download/ |
---|
20 | distname zathura-cb-${version} |
---|
21 | |
---|
22 | checksums \ |
---|
23 | rmd160 3eb7c71047b7f6c3e3f4c165cdb7ad2ddea700e3 \ |
---|
24 | sha256 72b20e2de452ccb8428fe0007bf12cee06c3422eac8e5e3b2c0ecbc9848850e0 |
---|
25 | |
---|
26 | patch.pre_args -p1 |
---|
27 | patchfiles patch-Makefile.diff \ |
---|
28 | patch-config.mk.diff |
---|
29 | |
---|
30 | depends_build port:pkgconfig |
---|
31 | |
---|
32 | depends_lib port:desktop-file-utils \ |
---|
33 | port:libarchive \ |
---|
34 | path:lib/libgirara-gtk3.dylib:girara \ |
---|
35 | path:bin/zathura:zathura |
---|
36 | |
---|
37 | use_configure no |
---|
38 | |
---|
39 | variant universal {} |
---|
40 | |
---|
41 | build.args PREFIX=${prefix} |
---|
42 | build.env CC=${configure.cc} \ |
---|
43 | CXX=${configure.cxx} \ |
---|
44 | CPP=${configure.cpp} \ |
---|
45 | CFLAGS="[get_canonical_archflags cc]" \ |
---|
46 | LDFLAGS="[get_canonical_archflags ld]" \ |
---|
47 | VERBOSE=1 |
---|
48 | |
---|
49 | eval destroot.env ${build.env} |
---|
50 | eval destroot.args ${build.args} |
---|
51 | |
---|
52 | post-activate { |
---|
53 | system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" |
---|
54 | } |
---|
55 | |
---|
56 | livecheck.type regex |
---|
57 | livecheck.url ${master_sites} |
---|
58 | livecheck.regex zathura-cb-(\[0-9.\]+)${extract.suffix} |
---|