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-djvu |
---|
7 | version 0.2.3 |
---|
8 | categories office |
---|
9 | platforms darwin |
---|
10 | license zlib |
---|
11 | maintainers gmail.com:starkhalo openmaintainer |
---|
12 | description The zathura-djvu plugin adds DjVu support to zathura. |
---|
13 | long_description \ |
---|
14 | The zathura-djvu plugin adds DjVu support to zathura by using the \ |
---|
15 | djvulibre library. |
---|
16 | |
---|
17 | homepage http://pwmt.org/projects/zathura/plugins/ |
---|
18 | |
---|
19 | master_sites http://pwmt.org/projects/zathura-djvu/download/ |
---|
20 | distname zathura-djvu-${version} |
---|
21 | |
---|
22 | checksums \ |
---|
23 | rmd160 30e683a033410ccbb2d494f8ef00e06f40158ee5 \ |
---|
24 | sha256 c16e82d525012b788fd01c4189df93708fcffffb7dd34ca09db55005d644ed89 |
---|
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:djvulibre \ |
---|
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 (\\d\\.\\d\\.\\d) |
---|