aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mupdf
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-10-07 04:31:12 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-10-07 04:31:12 +0800
commitbc78c124244fffe23a1205979b9bd2a417457762 (patch)
tree04b58c32b2d05d90e4632b04dbffc70f98d20cd4 /graphics/mupdf
parent6f84558388cf09a25cc928f4cd55d06d8a1c9ec3 (diff)
downloadfreebsd-ports-gnome-bc78c124244fffe23a1205979b9bd2a417457762.tar.gz
freebsd-ports-gnome-bc78c124244fffe23a1205979b9bd2a417457762.tar.zst
freebsd-ports-gnome-bc78c124244fffe23a1205979b9bd2a417457762.zip
- Upate to 0.7
- Unbreak PR: ports/150698 Submitted by: swell.k@gmail.com Approved by: Martin Dieringer <martin.dieringer@gmx.de> (maintainer)
Diffstat (limited to 'graphics/mupdf')
-rw-r--r--graphics/mupdf/Makefile34
-rw-r--r--graphics/mupdf/distinfo6
-rw-r--r--graphics/mupdf/pkg-plist3
3 files changed, 12 insertions, 31 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile
index 63b98a17f560..c1a85b5dce90 100644
--- a/graphics/mupdf/Makefile
+++ b/graphics/mupdf/Makefile
@@ -5,11 +5,10 @@
# $FreeBSD$
PORTNAME= mupdf
-PORTVERSION= 0.6
-PORTREVISION= 1
+PORTVERSION= 0.7
PORTEPOCH= 1
CATEGORIES= graphics
-MASTER_SITES= http://www.mupdf.com/download/source/
+MASTER_SITES= http://www.mupdf.com/download/
MAINTAINER= martin.dieringer@gmx.de
COMMENT= Lightweight PDF viewer and toolkit
@@ -19,11 +18,8 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
jbig2dec.0:${PORTSDIR}/graphics/jbig2dec \
openjpeg.2:${PORTSDIR}/graphics/openjpeg
-BROKEN= does not build
-
USE_GMAKE= yes
-MAKE_ARGS+= build=release prefix=${PREFIX}
-WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1
USE_XORG= x11 xext
USE_GNOME= pkgconfig
USE_GCC= 4.2+
@@ -33,28 +29,16 @@ MAKE_JOBS_SAFE= yes
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not install on sparc64
-.elif ${ARCH} == amd64
-CFLAGS+= -DARCH_X86_64
-.else
-CFLAGS+= -DARCH_X86
-.endif
-
post-patch: .SILENT
${REINPLACE_CMD} -e 's#\(PDF.*_EXE=.*DIR./\)#\1mu_#g' \
- -e 's/@[[:space:]]*echo[^&]*&&//' \
+ -e '/install:/,/^$$/ { /-d/d; }' \
+ -e '/install.*bin$$/s/install/$$(BSD_INSTALL_PROGRAM)/' \
+ -e '/install.*lib$$/s/install/$$(BSD_INSTALL_PROGRAM)/' \
+ -e '/install.*include$$/s/install/$$(BSD_INSTALL_DATA)/' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's/LAGS :=/LAGS +=/g' \
- -e 's/Linux/FreeBSD/g' \
- -e '/^CC/s/=/?=/' \
- -e '/-O3/d' \
- -e '/-msse/d' \
+ -e 's/-O2//' -e 's/-g//' \
+ -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/Makerules
.include <bsd.port.mk>
diff --git a/graphics/mupdf/distinfo b/graphics/mupdf/distinfo
index d20b59093a38..7469a2e13f07 100644
--- a/graphics/mupdf/distinfo
+++ b/graphics/mupdf/distinfo
@@ -1,3 +1,3 @@
-MD5 (mupdf-0.6.tar.gz) = d1e1a1df8fb3e4d1c601506797b75036
-SHA256 (mupdf-0.6.tar.gz) = 6f87c4f113ee9e0f4bdfd3a316ef44052edc4febc8f7b531c4a3f44ffe149605
-SIZE (mupdf-0.6.tar.gz) = 3607245
+MD5 (mupdf-0.7.tar.gz) = 83adc4d14eb17835df791a9a0d1e8fa9
+SHA256 (mupdf-0.7.tar.gz) = e7f6307fa472575d27fe893e787ddb3fc927f03ba4ae23105f917189e81960a6
+SIZE (mupdf-0.7.tar.gz) = 3557621
diff --git a/graphics/mupdf/pkg-plist b/graphics/mupdf/pkg-plist
index b7f468591af5..856716ed09c0 100644
--- a/graphics/mupdf/pkg-plist
+++ b/graphics/mupdf/pkg-plist
@@ -5,8 +5,5 @@ bin/mu_pdfextract
bin/mu_pdfinfo
bin/mu_pdfshow
include/fitz.h
-include/fitz_base.h
-include/fitz_draw.h
-include/fitz_stream.h
include/mupdf.h
lib/libmupdf.a