Date: Sat, 8 Aug 2009 09:41:52 +0200 (CEST) From: Martin Dieringer <martin.dieringer@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137559: [NEW PORT] graphics/mupdf: Lightweight PDF viewer and toolkit Message-ID: <alpine.BSF.2.00.0908080938090.34027@thinkpad.nowhere.local> Resent-Message-ID: <200908080750.n787o1c1022600@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137559 >Category: ports >Synopsis: [NEW PORT] graphics/mupdf: Lightweight PDF viewer and toolkit >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 08 07:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Martin Dieringer >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD 7.2-STABLE #0: Sun Jul 26 09:59:51 CEST 2009 >Description: MuPDF is a lightweight PDF viewer and toolkit written in portable C. The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen. MuPDF has a small footprint. A binary that includes the standard Roman fonts is only one megabyte. A build with full CJK support (including an Asian font) is approximately five megabytes. MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit provides a simple API for accessing the internal structures of the PDF document. Example code for navigating interactive links and bookmarks, encrypting PDF files, extracting fonts, images, and searchable text, and rendering pages to image files is provided. WWW: http://ccxvii.net/mupdf/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mupdf-20090707.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mupdf # mupdf/pkg-plist # mupdf/Makefile # mupdf/distinfo # mupdf/pkg-descr # mupdf/files # mupdf/files/patch-Jamrules # echo c - mupdf mkdir -p mupdf > /dev/null 2>&1 echo x - mupdf/pkg-plist sed 's/^X//' >mupdf/pkg-plist << 'b164d0d4887f54dbb5aa2bd8263090bf' Xbin/mupdf Xbin/mu_pdfshow Xbin/mu_pdfdraw Xbin/mu_pdfinfo Xbin/mu_cmapdump Xbin/mu_pdfextract Xbin/mu_pdfclean Xbin/mu_fontdump b164d0d4887f54dbb5aa2bd8263090bf echo x - mupdf/Makefile sed 's/^X//' >mupdf/Makefile << 'c4173782f4e1b50ad82268bcd4604e88' X# New ports collection makefile for: mupdf X# Date created: 2009-08-07 X# Whom: Martin Dieringer <martin.dieringer@gmx.de> X# X# $FreeBSD$ X XPORTNAME= mupdf XPORTVERSION= 20090707 XCATEGORIES= graphics XMASTER_SITES= http://ccxvii.net/mupdf/download/ XDISTNAME= ${PORTNAME}-2009-07-07-source X XMAINTAINER= martin.dieringer@gmx.de XCOMMENT= Lightweight PDF viewer and toolkit X XBUILD_DEPENDS= jam:${PORTSDIR}/devel/jam XLIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ X jpeg.10:${PORTSDIR}/graphics/jpeg X XUSE_GZIP= yes X XJAM_ARGS= -q XOPTIONS= NOCJK "Disable Asian Fontset" Off X X.include <bsd.port.options.mk> X X.if defined(WITH_NOCJK) XJAM_ARGS+= -sDEFINES=NOCJK X.endif X Xdo-build: X cd ${WRKSRC} && jam ${JAM_ARGS} X XEXECUTABLES= cmapdump pdfdraw pdfinfo \ X fontdump pdfclean pdfextract pdfshow Xdo-install: X ${INSTALL} ${WRKSRC}/build/mupdf ${PREFIX}/bin/mupdf X.for f in ${EXECUTABLES} X ${INSTALL} ${WRKSRC}/build/$f ${PREFIX}/bin/mu_$f ; X.endfor X X.include <bsd.port.mk> c4173782f4e1b50ad82268bcd4604e88 echo x - mupdf/distinfo sed 's/^X//' >mupdf/distinfo << 'fc9c145d7d17feeed1c84c82b8cdb382' XMD5 (mupdf-2009-07-07-source.tar.gz) = 3b499c4f34909093bab308497f62eb5c XSHA256 (mupdf-2009-07-07-source.tar.gz) = d3c252b4a1f98270235844e9d4507b3533f17981099a5c82531551634a34e4fe XSIZE (mupdf-2009-07-07-source.tar.gz) = 3297517 fc9c145d7d17feeed1c84c82b8cdb382 echo x - mupdf/pkg-descr sed 's/^X//' >mupdf/pkg-descr << '01cb0fa19adb66874f3f0b28085608ce' XMuPDF is a lightweight PDF viewer and toolkit written in portable C. X XThe renderer in MuPDF is tailored for high quality anti-aliased graphics. It Xrenders text with metrics and spacing accurate to within fractions of a Xpixel for the highest fidelity in reproducing the look of a printed page on Xscreen. X XMuPDF has a small footprint. A binary that includes the standard Roman fonts Xis only one megabyte. A build with full CJK support (including an Asian Xfont) is approximately five megabytes. X XMuPDF has support for all non-interactive PDF 1.7 features, and the toolkit Xprovides a simple API for accessing the internal structures of the PDF Xdocument. Example code for navigating interactive links and bookmarks, Xencrypting PDF files, extracting fonts, images, and searchable text, and Xrendering pages to image files is provided. X XWWW: http://ccxvii.net/mupdf/ 01cb0fa19adb66874f3f0b28085608ce echo c - mupdf/files mkdir -p mupdf/files > /dev/null 2>&1 echo x - mupdf/files/patch-Jamrules sed 's/^X//' >mupdf/files/patch-Jamrules << 'ae63973197ef5582aa3b61bcb00226c7' X--- Jamrules.orig 2009-07-07 20:08:22.000000000 +0200 X+++ Jamrules 2009-08-07 15:33:11.000000000 +0200 X@@ -47,14 +47,14 @@ X if $(HAVE_JASPER) { DEFINES += HAVE_JASPER ; } X if $(HAVE_OPENJPEG) { DEFINES += HAVE_OPENJPEG ; } X X-if $(OS) = LINUX X+if $(OS) = FREEBSD X { X- Echo Building for LINUX ; X+ Echo Building for FREEBSD ; X X BUILD_X11APP = true ; X X- CCFLAGS = -Wall -std=gnu99 -I/usr/include/freetype2 ; X- LINKFLAGS = -L/usr/X11R6/lib ; X+ CCFLAGS = -Wall -std=gnu99 -I/usr/local/include/freetype2 -I/usr/local/include/ ; X+ LINKFLAGS = -L/usr/local/lib ; X LINKLIBS = -lfreetype -ljpeg -lz -lm ; X APPLINKLIBS = -lX11 -lXext -lpthread ; X ae63973197ef5582aa3b61bcb00226c7 exit --- mupdf-20090707.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0908080938090.34027>