aboutsummaryrefslogtreecommitdiff
path: root/graphics/mupdf
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-04-08 11:47:42 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-04-08 11:47:42 +0000
commitf4fb70cdfc1fa9f5517304cb780198f032b35db1 (patch)
treeb3c0e39aa100510b0ebaf52ea34213179f908f1e /graphics/mupdf
parent02d08453dd30c5e680426b16fc8544098d8a0dc2 (diff)
downloadports-f4fb70cdfc1fa9f5517304cb780198f032b35db1.tar.gz
ports-f4fb70cdfc1fa9f5517304cb780198f032b35db1.zip
Notes
Diffstat (limited to 'graphics/mupdf')
-rw-r--r--graphics/mupdf/Makefile17
-rw-r--r--graphics/mupdf/distinfo5
2 files changed, 13 insertions, 9 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile
index c1a85b5dce90..2e57be7efb0b 100644
--- a/graphics/mupdf/Makefile
+++ b/graphics/mupdf/Makefile
@@ -5,10 +5,13 @@
# $FreeBSD$
PORTNAME= mupdf
-PORTVERSION= 0.7
+PORTVERSION= 0.8.15
PORTEPOCH= 1
CATEGORIES= graphics
-MASTER_SITES= http://www.mupdf.com/download/
+MASTER_SITES= GOOGLE_CODE \
+ http://www.mupdf.com/download/
+
+DISTFILES= ${PORTNAME}-${DISTVERSION}-source.tar.gz
MAINTAINER= martin.dieringer@gmx.de
COMMENT= Lightweight PDF viewer and toolkit
@@ -19,10 +22,10 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
openjpeg.2:${PORTSDIR}/graphics/openjpeg
USE_GMAKE= yes
-MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1
+MAKE_ARGS+= build=release prefix=${PREFIX} verbose=1 MANDIR=${PREFIX}/man/man1 APPS_MAN="${MAN1:S@^@apps/man/@}" LIBDIR=${PREFIX}/lib
USE_XORG= x11 xext
USE_GNOME= pkgconfig
-USE_GCC= 4.2+
+MAN1= mupdf.1 mu_pdfclean.1 mu_pdfdraw.1 mu_pdfshow.1
MAKE_JOBS_SAFE= yes
@@ -36,9 +39,11 @@ post-patch: .SILENT
-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/-O2//' -e 's/-g//' \
+ ${REINPLACE_CMD} -e 's/-O2//' \
-e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/Makerules
+pre-install: .SILENT
+ find ${WRKSRC} -name pdf\*.1 -exec sh -c 'mv {} $$(dirname {})/mu_$$(basename {})' \;
+
.include <bsd.port.mk>
diff --git a/graphics/mupdf/distinfo b/graphics/mupdf/distinfo
index 7469a2e13f07..10a864a6fbb0 100644
--- a/graphics/mupdf/distinfo
+++ b/graphics/mupdf/distinfo
@@ -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