Files
macports-ports/office/zathura-plugin-pdf-poppler/Portfile
T
2025-03-21 00:19:45 -05:00

44 lines
1.6 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
PortGroup meson 1.0
name zathura-plugin-pdf-poppler
version 0.2.9
revision 0
categories office
maintainers nomaintainer
license zlib
description The zathura-pdf-poppler plugin adds PDF support to zathura.
long_description \
The zathura-pdf-poppler plugin adds PDF support to zathura by using the \
poppler rendering library.
homepage https://git.pwmt.org/pwmt/zathura-pdf-poppler
master_sites ${homepage}/-/archive/${version}
distname zathura-pdf-poppler-${version}
checksums rmd160 cb8dd61f182c5b3a7993ec0f18c4bb8508e1a870 \
sha256 34c5eb25f56cd01a3302d4bc8eb0b23e026e065d017405f3f2a30a02b9cd2530 \
size 8173
depends_build-append \
path:bin/pkg-config:pkgconfig
depends_lib port:desktop-file-utils \
path:lib/pkgconfig/poppler.pc:poppler \
path:lib/libgirara-gtk3.dylib:girara \
path:bin/zathura:zathura
# blacklist compilers that don't support -std=c11
compiler.blacklist *gcc* {clang < 300}
post-activate {
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
}
livecheck.type regex
livecheck.url ${homepage}/tags
livecheck.regex zathura-pdf-poppler-(\\d\\.\\d\\.\\d)[quotemeta ${extract.suffix}]