aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mupdf
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2014-05-26 22:42:44 +0800
committerkwm <kwm@FreeBSD.org>2014-05-26 22:42:44 +0800
commitfc37ca236b71d16e618b709f96c4fd55e90c4999 (patch)
treeb4fd1c0da900b47d7f7bd9ff430fdf2a56aa044d /graphics/mupdf
parent53340f08eb1761f353b502be492d0e2387c9da24 (diff)
downloadfreebsd-ports-gnome-fc37ca236b71d16e618b709f96c4fd55e90c4999.tar.gz
freebsd-ports-gnome-fc37ca236b71d16e618b709f96c4fd55e90c4999.tar.zst
freebsd-ports-gnome-fc37ca236b71d16e618b709f96c4fd55e90c4999.zip
Update openjpeg to 2.1.0.
Version 2.x is incompatible with openjpeg 1.5. Preserve it as openjpeg15 and update users. Approved by: portmgr (implicit) for NO_STAGE ports
Diffstat (limited to 'graphics/mupdf')
-rw-r--r--graphics/mupdf/Makefile14
-rw-r--r--graphics/mupdf/pkg-plist3
2 files changed, 9 insertions, 8 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile
index 763988a4f06b..749897f29995 100644
--- a/graphics/mupdf/Makefile
+++ b/graphics/mupdf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mupdf
PORTVERSION= 1.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE \
@@ -15,17 +15,16 @@ COMMENT= Lightweight PDF viewer and toolkit
LICENSE= AGPLv3
-LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
- jpeg:${PORTSDIR}/graphics/jpeg \
- jbig2dec:${PORTSDIR}/graphics/jbig2dec \
- openjpeg:${PORTSDIR}/graphics/openjpeg
+LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \
+ libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15
USE_GMAKE= yes
MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1 mandir=${PREFIX}/man \
XCFLAGS=-I${LOCALBASE}/include
USES= pkgconfig
USE_XORG= x11 xext
-MAN1= mupdf.1 mutool.1 mudraw.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
@@ -35,7 +34,6 @@ OPTIONS_DEFAULT=SCROLL
SCROLL_DESC= Build with scroll hacks
JS_DESC= JavaScript support (V8 engine)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${CC:T:Mclang} == "clang"
@@ -49,7 +47,7 @@ EXTRA_PATCHES+= ${FILESDIR}/scroll_hack-apps_pdfapp.c
.endif
.if ${PORT_OPTIONS:MJS}
-LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8
+LIB_DEPENDS+= libv8.so:${PORTSDIR}/lang/v8
MAKE_ARGS+= V8_PRESENT=1 V8LIBS=-lv8
.endif
diff --git a/graphics/mupdf/pkg-plist b/graphics/mupdf/pkg-plist
index 4e58bcdbfcfb..f6103b8710e2 100644
--- a/graphics/mupdf/pkg-plist
+++ b/graphics/mupdf/pkg-plist
@@ -7,3 +7,6 @@ include/mucbz.h
include/mupdf.h
include/muxps.h
lib/libfitz.a
+man/man1/mudraw.1.gz
+man/man1/mupdf.1.gz
+man/man1/mutool.1.gz