[86461] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Wed Oct 26 01:44:38 PDT 2011


Revision: 86461
          http://trac.macports.org/changeset/86461
Author:   ryandesign at macports.org
Date:     2011-10-26 01:44:37 -0700 (Wed, 26 Oct 2011)
Log Message:
-----------
mupdf: new port, version 0.9 (#31780); add conflicts with poppler and xpdf-tools

Modified Paths:
--------------
    trunk/dports/graphics/poppler/Portfile
    trunk/dports/graphics/xpdf-tools/Portfile

Added Paths:
-----------
    trunk/dports/graphics/mupdf/
    trunk/dports/graphics/mupdf/Portfile
    trunk/dports/graphics/mupdf/files/
    trunk/dports/graphics/mupdf/files/patch-Makerules.diff

Added: trunk/dports/graphics/mupdf/Portfile
===================================================================
--- trunk/dports/graphics/mupdf/Portfile	                        (rev 0)
+++ trunk/dports/graphics/mupdf/Portfile	2011-10-26 08:44:37 UTC (rev 86461)
@@ -0,0 +1,56 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                mupdf
+conflicts           poppler xpdf-tools
+version             0.9
+categories          graphics
+platforms           darwin
+maintainers         nomaintainer
+license             GPL-3+
+
+description         lightweight PDF and XPS viewer and parser/rendering library
+
+long_description    MuPDF is a lightweight PDF and XPS viewer and \
+                    parser/rendering library. \
+                    \
+                    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 is also small, fast, and yet complete. It supports \
+                    PDF 1.7 with transparency, encryption, hyperlinks, \
+                    annotations, search and many other bells and whistles. \
+                    MuPDF can also read XPS documents (OpenXPS ECMA-388).
+
+homepage            http://www.mupdf.com/
+
+master_sites        googlecode
+distfiles           [suffix ${name}-${version}-source]
+
+checksums           rmd160  9ba1df205f9f95c7ff4b0a3be224786ad5a65d99 \
+                    sha256  abed825cb1d73e0e28f0a7ee72b5d7a451ba41d21b0c55837ed2a212f3b16b2d
+
+depends_build       port:pkgconfig
+
+depends_lib         port:freetype \
+                    port:jbig2dec \
+                    port:jpeg \
+                    port:openjpeg \
+                    port:xorg-libXext \
+                    port:zlib
+
+patchfiles          patch-Makerules.diff
+
+use_configure       no
+
+build.env           CC="${configure.cc}" \
+                    CFLAGS="${configure.cflags} ${configure.cppflags} [get_canonical_archflags]" \
+                    LDFLAGS="${configure.ldflags} [get_canonical_archflags]" \
+                    verbose=1
+
+destroot.destdir    prefix=${destroot}${prefix}


Property changes on: trunk/dports/graphics/mupdf/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/graphics/mupdf/files/patch-Makerules.diff
===================================================================
--- trunk/dports/graphics/mupdf/files/patch-Makerules.diff	                        (rev 0)
+++ trunk/dports/graphics/mupdf/files/patch-Makerules.diff	2011-10-26 08:44:37 UTC (rev 86461)
@@ -0,0 +1,34 @@
+--- Makerules.orig	2011-09-05 06:55:39.000000000 -0500
++++ Makerules	2011-10-26 03:20:01.000000000 -0500
+@@ -18,31 +18,10 @@
+ $(error unknown build setting: '$(build)')
+ endif
+ 
+-ifeq "$(OS)" "Linux"
+ SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
+ X11_LIBS := -lX11 -lXext
+-endif
+ 
+-ifeq "$(OS)" "FreeBSD"
+-SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
+-LDFLAGS += -L/usr/local/lib
+-X11_LIBS := -lX11 -lXext
+-endif
+ 
+-# Mac OS X build depends on some thirdparty libs
+-ifeq "$(OS)" "Darwin"
+-SYS_FREETYPE_INC := -I/usr/X11R6/include/freetype2
+-CFLAGS += -I/usr/X11R6/include
+-LDFLAGS += -L/usr/X11R6/lib
+-X11_LIBS := -lX11 -lXext
+-ifeq "$(arch)" "amd64"
+-CFLAGS += -m64
+-LDFLAGS += -m64
+-else
+-CFLAGS += -m32
+-LDFLAGS += -m32
+-endif
+-endif
+ 
+ # The following section is an example of how to simply do cross-compilation
+ # using these Makefiles. It builds for a beagleboard running ARM linux,

Modified: trunk/dports/graphics/poppler/Portfile
===================================================================
--- trunk/dports/graphics/poppler/Portfile	2011-10-26 08:32:21 UTC (rev 86460)
+++ trunk/dports/graphics/poppler/Portfile	2011-10-26 08:44:37 UTC (rev 86461)
@@ -5,7 +5,7 @@
 PortGroup  muniversal 1.0
 
 name        poppler
-conflicts   xpdf-tools
+conflicts   mupdf xpdf-tools
 version     0.18.0
 license     GPL-2
 maintainers devans openmaintainer

Modified: trunk/dports/graphics/xpdf-tools/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-tools/Portfile	2011-10-26 08:32:21 UTC (rev 86460)
+++ trunk/dports/graphics/xpdf-tools/Portfile	2011-10-26 08:44:37 UTC (rev 86461)
@@ -14,7 +14,7 @@
 
 ## conflicts with poppler until poppler renames its CLI tools
 ##  (then conflicts w/ poppler-tools if it gets created)
-conflicts       poppler
+conflicts       mupdf poppler
 
 supported_archs noarch
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111026/b7d3190d/attachment.html>


More information about the macports-changes mailing list