ports/156186: [PATCH] graphics/mupdf: update to 0.8.15
Baptiste Daroussin
bapt at FreeBSD.org
Mon Apr 4 21:00:25 UTC 2011
>Number: 156186
>Category: ports
>Synopsis: [PATCH] graphics/mupdf: update to 0.8.15
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 04 21:00:24 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Bapt
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD azathoth.lan 8.2-STABLE FreeBSD 8.2-STABLE #0 r219454M: Thu Mar 10 20:09:22 CET 2011 root at azathoth.lan:/usr/obj/usr/src/sys/AZATHOTH amd64
>Description:
Here is an update to mupdf version 0.8.15
>How-To-Repeat:
>Fix:
--- mupdf-0.8.15.diff begins here ---
? mupdf-0.8.15.diff
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/mupdf/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 6 Oct 2010 20:31:12 -0000 1.10
+++ Makefile 4 Apr 2011 20:54:35 -0000
@@ -5,14 +5,17 @@
# $FreeBSD: ports/graphics/mupdf/Makefile,v 1.10 2010/10/06 20:31:12 pgollucci Exp $
PORTNAME= mupdf
-PORTVERSION= 0.7
+PORTVERSION= 0.8.15
PORTEPOCH= 1
CATEGORIES= graphics
-MASTER_SITES= http://www.mupdf.com/download/
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= martin.dieringer at gmx.de
COMMENT= Lightweight PDF viewer and toolkit
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
jpeg.11:${PORTSDIR}/graphics/jpeg \
jbig2dec.0:${PORTSDIR}/graphics/jbig2dec \
@@ -26,15 +29,26 @@
MAKE_JOBS_SAFE= yes
+MAKE_ENV= MANDIR=${MANPREFIX}/man/man1
+LIBDIR= ${PREFIX}/lib
+
+MAN1= mupdf.1 mu_pdfdraw.1 mu_pdfshow.1 mu_pdfclean.1
+
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+post-extract:
+ @for man1 in ${WRKSRC}/apps/man/pdf*.1; do \
+ ${MV} $$man1 `${ECHO_CMD} $$man1 | ${SED} -e 's,man/pdf,man/mu_pdf,g'`; \
+ done
+
post-patch: .SILENT
${REINPLACE_CMD} -e 's#\(PDF.*_EXE=.*DIR./\)#\1mu_#g' \
-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)/' \
+ -e 's#man/pdf#man/mu_pdf#g' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's/LAGS :=/LAGS +=/g' \
-e 's/-O2//' -e 's/-g//' \
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/graphics/mupdf/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 6 Oct 2010 20:31:12 -0000 1.7
+++ distinfo 4 Apr 2011 20:54:35 -0000
@@ -1,3 +1,2 @@
-MD5 (mupdf-0.7.tar.gz) = 83adc4d14eb17835df791a9a0d1e8fa9
-SHA256 (mupdf-0.7.tar.gz) = e7f6307fa472575d27fe893e787ddb3fc927f03ba4ae23105f917189e81960a6
-SIZE (mupdf-0.7.tar.gz) = 3557621
+SHA256 (mupdf-0.8.15-source.tar.gz) = c9e7acc86c208a854e460cd07c1132039a95df0c21aa5052c4481fb540b0e03e
+SIZE (mupdf-0.8.15-source.tar.gz) = 3837265
--- mupdf-0.8.15.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list