[136560] trunk/dports/graphics/mupdf

g5pw at macports.org g5pw at macports.org
Thu May 21 13:17:47 PDT 2015


Revision: 136560
          https://trac.macports.org/changeset/136560
Author:   g5pw at macports.org
Date:     2015-05-21 13:17:47 -0700 (Thu, 21 May 2015)
Log Message:
-----------
graphics/mupdf:
  update to 1.7a (closes #47587)

Modified Paths:
--------------
    trunk/dports/graphics/mupdf/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/mupdf/files/

Modified: trunk/dports/graphics/mupdf/Portfile
===================================================================
--- trunk/dports/graphics/mupdf/Portfile	2015-05-21 20:11:37 UTC (rev 136559)
+++ trunk/dports/graphics/mupdf/Portfile	2015-05-21 20:17:47 UTC (rev 136560)
@@ -4,10 +4,10 @@
 PortSystem          1.0
 
 name                mupdf
-version             1.4
+version             1.7a
 categories          graphics
 platforms           darwin
-maintainers         gmail.com:starkhalo
+maintainers         gmail.com:starkhalo openmaintainer
 license             GPL-3+
 
 description         lightweight PDF and XPS viewer and parser/rendering library
@@ -31,8 +31,8 @@
 master_sites        ${homepage}downloads/
 distname            ${name}-${version}-source
 
-checksums           rmd160 368140a0f825483268faaf778328bc6c3f4d461f \
-                    sha256 018bab9520b5e93bb33ab07b0472fdf9f768c5801769f95b9a696941b633ec22
+checksums           rmd160 cc9260029a7665004584ff6aa1b49e259b08be37 \
+                    sha256 8c035ffa011fc44f8a488f70da3e6e51889508bbf66fe6b90a63e0cfa6c17d1c
 
 depends_build       port:pkgconfig
 
@@ -43,8 +43,6 @@
                     port:xorg-libXext \
                     port:zlib
 
-patchfiles          patch-Makerules.diff
-
 use_configure       no
 
 variant universal   {}
@@ -63,12 +61,24 @@
 
 destroot.destdir    prefix=${destroot}${prefix}
 
+post-destroot {
+# mupdf has its own javascript interpreter which is maintained in a separate
+# repository (git://git.ghostscript.com/mujs.git) but shipped with the source
+# code as a third-party library. Since there hasn't been a versioned release of
+# it yet and `mujs' is developed especially for mupdf it will be installed via
+# post-destroot.
+    set libdir ${destroot}${prefix}/lib
+    xinstall -m 644 -W ${worksrcpath} \
+        build/release/libmujs.a \
+        ${libdir}
+}
+
 # https://trac.macports.org/ticket/33240
 # Mac OS X Tiger has an old version of `make`, needs to use GNU make
 platform darwin 8 {
     depends_build-append port:gmake
     build.cmd ${prefix}/bin/gmake
-} 
+}
 
 livecheck.type      regex
 livecheck.url       ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150521/3aabefa5/attachment.html>


More information about the macports-changes mailing list