PORTNAME= zathura-pdf-mupdf DISTVERSION= 0.4.4 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://pwmt.org/projects/zathura-pdf-mupdf/download/ MAINTAINER= uzsolt@FreeBSD.org COMMENT= MuPDF render PDF plugin for Zathura PDF viewer WWW= https://pwmt.org/projects/zathura-pdf-mupdf/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= appstream-util:devel/appstream-glib \ zathura:graphics/zathura LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgirara-gtk3.so:x11-toolkits/girara \ libmupdf.so:graphics/mupdf RUN_DEPENDS= zathura:graphics/zathura USES= compiler:c++17-lang desktop-file-utils gnome jpeg localbase \ meson pkgconfig tar:xz USE_GNOME= cairo glib20 CONFLICTS_INSTALL= zathura-pdf-poppler #MESON_ARGS= -Dlink-external=true PLIST_FILES= lib/zathura/libpdf-mupdf.so \ share/applications/org.pwmt.zathura-pdf-mupdf.desktop \ share/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml post-patch: ${REINPLACE_CMD} "s@\(cc.find_library(.*\))@\1,dirs:'${PREFIX}/lib')@" \ ${WRKSRC}/meson.build ${REINPLACE_CMD} "s@join_paths(datadir, \ 'metainfo')@join_paths(datadir, 'appdata')@" ${WRKSRC}/meson.build .include