5557089bd7
- Fix graphics/zathura-pdf-mupdf after mupdf update [1] - Fix graphics/llpp after mupdf update [2] PR: 210398 Submitted by: Zsolt Udvari (maintainer) [1] Tobias Kortkamp (maintainer) [2]
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# Created by: Zsolt Udvari <udvzsolt@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zathura-pdf-mupdf
|
|
PORTVERSION= 0.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://pwmt.org/projects/zathura-pdf-mupdf/download/
|
|
|
|
MAINTAINER= udvzsolt@gmail.com
|
|
COMMENT= MuPDF render PDF plugin for Zathura PDF viewer
|
|
|
|
LICENSE= ZLIB
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= zathura:graphics/zathura \
|
|
mupdf>=1.8,1:graphics/mupdf
|
|
RUN_DEPENDS= zathura:graphics/zathura
|
|
LIB_DEPENDS= libjbig2dec.so:graphics/jbig2dec \
|
|
libopenjp2.so:graphics/openjpeg \
|
|
libgirara-gtk3.so:x11-toolkits/girara
|
|
|
|
PLIST_FILES= lib/zathura/pdf.so share/applications/zathura-pdf-mupdf.desktop
|
|
|
|
MAKE_ARGS= MUPDF_LIB="-lmupdf_pic -lmupdfthird_pic" OPENSSL_INC=-I${OPENSSLINC} \
|
|
OPENSSL_LIB="-L${OPENSSLLIB} -lcrypto"
|
|
USES= compiler:c11 desktop-file-utils gmake gettext jpeg pkgconfig ssl
|
|
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
|
|
|
|
CONFLICTS_INSTALL= zathura-pdf-poppler-[0-9]*
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/zathura/pdf.so
|
|
|
|
.include <bsd.port.mk>
|