2014-09-04 11:04:08 +02:00
|
|
|
# Created by: Zsolt Udvari <udvzsolt@gmail.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zathura-pdf-mupdf
|
2017-01-25 17:13:16 +01:00
|
|
|
PORTVERSION= 0.3.1
|
2014-09-04 11:04:08 +02:00
|
|
|
CATEGORIES= graphics
|
2017-01-25 17:13:16 +01:00
|
|
|
MASTER_SITES= https://pwmt.org/projects/zathura-pdf-mupdf/download/ \
|
|
|
|
http://www.madpilot.net/~mad/pwmt.org/
|
2014-09-04 11:04:08 +02:00
|
|
|
|
|
|
|
MAINTAINER= udvzsolt@gmail.com
|
|
|
|
COMMENT= MuPDF render PDF plugin for Zathura PDF viewer
|
|
|
|
|
2016-01-24 13:01:20 +01:00
|
|
|
LICENSE= ZLIB
|
2014-09-04 11:04:08 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= zathura:graphics/zathura \
|
|
|
|
mupdf>=1.8,1:graphics/mupdf
|
|
|
|
RUN_DEPENDS= zathura:graphics/zathura
|
|
|
|
LIB_DEPENDS= libjbig2dec.so:graphics/jbig2dec \
|
2017-01-25 17:13:16 +01:00
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libharfbuzz.so:print/harfbuzz \
|
2016-06-30 18:05:54 +02:00
|
|
|
libopenjp2.so:graphics/openjpeg \
|
|
|
|
libgirara-gtk3.so:x11-toolkits/girara
|
2014-09-04 11:04:08 +02:00
|
|
|
|
2015-02-01 22:40:57 +01:00
|
|
|
PLIST_FILES= lib/zathura/pdf.so share/applications/zathura-pdf-mupdf.desktop
|
2014-09-04 11:04:08 +02:00
|
|
|
|
2016-06-30 18:05:54 +02:00
|
|
|
MAKE_ARGS= MUPDF_LIB="-lmupdf_pic -lmupdfthird_pic" OPENSSL_INC=-I${OPENSSLINC} \
|
2015-02-01 22:40:57 +01:00
|
|
|
OPENSSL_LIB="-L${OPENSSLLIB} -lcrypto"
|
2016-06-30 18:05:54 +02:00
|
|
|
USES= compiler:c11 desktop-file-utils gmake gettext jpeg pkgconfig ssl
|
|
|
|
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
|
2014-09-04 11:04:08 +02:00
|
|
|
|
|
|
|
CONFLICTS_INSTALL= zathura-pdf-poppler-[0-9]*
|
|
|
|
|
|
|
|
post-install:
|
2015-12-11 11:02:27 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/zathura/pdf.so
|
2014-09-04 11:04:08 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|