Ticket #43579: Portfile.5

File Portfile.5, 1.6 KB (added by harciga, 10 years ago)
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$
3
4PortSystem          1.0
5
6name                zathura-plugin-pdf-poppler
7version             0.2.5
8categories          office
9platforms           darwin
10license             zlib
11maintainers         gmail.com:starkhalo
12description         The zathura-pdf-poppler plugin adds PDF support to zathura.
13long_description \
14    The zathura-pdf-poppler plugin adds PDF support to zathura by using the \
15    poppler rendering library.
16
17homepage            http://pwmt.org/projects/zathura/plugins/
18
19master_sites        http://pwmt.org/projects/zathura-pdf-poppler/download/
20distname            zathura-pdf-poppler-${version}
21
22checksums           \
23    rmd160 0aa1c7ae3790eb9cda56bda68a06a58ad9a52c1e \
24    sha256 60b327596d65bcd39edd5bf05b8cca8f9b658f51e626611ea99247a49b860cac
25
26patchfiles          patch-Makefile.diff \
27                    patch-config.mk.diff
28
29depends_lib         port:poppler \
30                    path:lib/libgirara-gtk3.dylib:girara \
31                    path:bin/zathura:zathura
32
33use_configure       no
34
35variant universal   {}
36
37build.args          PREFIX=${prefix}
38build.args-append   CC=${configure.cc} \
39                    CXX=${configure.cxx} \
40                    CPP=${configure.cpp}
41
42build.env           CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
43                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
44
45destroot.args       PREFIX=${prefix}
46
47livecheck.type      regex
48livecheck.url       ${master_sites}
49livecheck.regex     (\\d\\.\\d\\.\\d)