Ticket #47587: Portfile-mupdf.diff
File Portfile-mupdf.diff, 2.0 KB (added by harciga, 9 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name mupdf 7 version 1. 47 version 1.7a 8 8 categories graphics 9 9 platforms darwin 10 maintainers gmail.com:starkhalo 10 maintainers gmail.com:starkhalo openmaintainer 11 11 license GPL-3+ 12 12 13 13 description lightweight PDF and XPS viewer and parser/rendering library … … 31 31 master_sites ${homepage}downloads/ 32 32 distname ${name}-${version}-source 33 33 34 checksums rmd160 368140a0f825483268faaf778328bc6c3f4d461f\35 sha256 018bab9520b5e93bb33ab07b0472fdf9f768c5801769f95b9a696941b633ec2234 checksums rmd160 cc9260029a7665004584ff6aa1b49e259b08be37 \ 35 sha256 8c035ffa011fc44f8a488f70da3e6e51889508bbf66fe6b90a63e0cfa6c17d1c 36 36 37 37 depends_build port:pkgconfig 38 38 … … 43 43 port:xorg-libXext \ 44 44 port:zlib 45 45 46 patchfiles patch-Makerules.diff47 48 46 use_configure no 49 47 50 48 variant universal {} … … 63 61 64 62 destroot.destdir prefix=${destroot}${prefix} 65 63 64 post-destroot { 65 # mupdf has its own javascript interpreter which is maintained in a separate 66 # repository (git://git.ghostscript.com/mujs.git) but shipped with the source 67 # code as a third-party library. Since there hasn't been a versioned release of 68 # it yet and `mujs' is developed especially for mupdf it will be installed via 69 # post-destroot. 70 set libdir ${destroot}${prefix}/lib 71 xinstall -m 644 -W ${worksrcpath} \ 72 build/release/libmujs.a \ 73 ${libdir} 74 } 75 66 76 # https://trac.macports.org/ticket/33240 67 77 # Mac OS X Tiger has an old version of `make`, needs to use GNU make 68 78 platform darwin 8 { 69 79 depends_build-append port:gmake 70 80 build.cmd ${prefix}/bin/gmake 71 } 81 } 72 82 73 83 livecheck.type regex 74 84 livecheck.url ${master_sites}