aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/zathura-pdf-mupdf
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2018-07-14 15:38:30 +0800
committerriggs <riggs@FreeBSD.org>2018-07-14 15:38:30 +0800
commit316a7c89f2c6d1b25235401b4be980c5c3d996e8 (patch)
tree156a65711156110c0b388177d28481e055a95e11 /graphics/zathura-pdf-mupdf
parentce5fd861f365ee64c31e620d2b6b8c62d05e253f (diff)
downloadfreebsd-ports-gnome-316a7c89f2c6d1b25235401b4be980c5c3d996e8.tar.gz
freebsd-ports-gnome-316a7c89f2c6d1b25235401b4be980c5c3d996e8.tar.zst
freebsd-ports-gnome-316a7c89f2c6d1b25235401b4be980c5c3d996e8.zip
Update to upstream version 0.3.3
Detailed maintainer log: - Update to 0.3.3 - Use meson - Remove unneeded USES+=gettext - Tested with graphics/zathura 0.4.0 PR: 229110 Submitted by: uzsolt@uzsolt.hu (maintainer)
Diffstat (limited to 'graphics/zathura-pdf-mupdf')
-rw-r--r--graphics/zathura-pdf-mupdf/Makefile15
-rw-r--r--graphics/zathura-pdf-mupdf/distinfo6
2 files changed, 12 insertions, 9 deletions
diff --git a/graphics/zathura-pdf-mupdf/Makefile b/graphics/zathura-pdf-mupdf/Makefile
index 6591464824d4..320ebd9c67e5 100644
--- a/graphics/zathura-pdf-mupdf/Makefile
+++ b/graphics/zathura-pdf-mupdf/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= zathura-pdf-mupdf
-PORTVERSION= 0.3.2
+PORTVERSION= 0.3.3
CATEGORIES= graphics
MASTER_SITES= https://pwmt.org/projects/zathura-pdf-mupdf/download/ \
http://www.madpilot.net/~mad/pwmt.org/
@@ -22,15 +22,18 @@ LIB_DEPENDS= libjbig2dec.so:graphics/jbig2dec \
libmupdf.so:graphics/mupdf \
libopenjp2.so:graphics/openjpeg
-PLIST_FILES= lib/zathura/pdf.so share/applications/zathura-pdf-mupdf.desktop
+PLIST_FILES= lib/zathura/libpdf-mupdf.so \
+ share/applications/org.pwmt.zathura-pdf-mupdf.desktop \
+ share/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml
-MAKE_ARGS= OPENSSL_INC=-I${OPENSSLINC} OPENSSL_LIB="-L${OPENSSLLIB} -lcrypto"
-USES= compiler:c11 desktop-file-utils gmake gettext jpeg pkgconfig ssl
+#MAKE_ARGS= OPENSSL_INC=-I${OPENSSLINC} OPENSSL_LIB="-L${OPENSSLLIB} -lcrypto"
+USES= compiler:c11 desktop-file-utils gmake jpeg meson pkgconfig tar:xz
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
+USE_LDCONFIG= yes
CONFLICTS_INSTALL= zathura-pdf-poppler-[0-9]*
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/zathura/pdf.so
+post-patch:
+ ${REINPLACE_CMD} "s@\(cc.find_library(.*\))@\1,dirs:'${PREFIX}/lib')@" ${WRKSRC}/meson.build
.include <bsd.port.mk>
diff --git a/graphics/zathura-pdf-mupdf/distinfo b/graphics/zathura-pdf-mupdf/distinfo
index 895c118d7c6d..fc9980c25ac2 100644
--- a/graphics/zathura-pdf-mupdf/distinfo
+++ b/graphics/zathura-pdf-mupdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1514565077
-SHA256 (zathura-pdf-mupdf-0.3.2.tar.gz) = 931d88c4d1adc3be77a8fa9f28c25fc2aa9c9ffbabfaeac4aacc1e1d07936a76
-SIZE (zathura-pdf-mupdf-0.3.2.tar.gz) = 9687
+TIMESTAMP = 1531483831
+SHA256 (zathura-pdf-mupdf-0.3.3.tar.xz) = 52b02ceee272a47f7ef9c2b73cc4f6fb480c02fdce0e7f6b7c8e93ad6ac46dfd
+SIZE (zathura-pdf-mupdf-0.3.3.tar.xz) = 7880