Ticket #43614: Portfile

File Portfile, 2.2 KB (added by harciga, 10 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5
6name                mupdf
7version             1.4
8categories          graphics
9platforms           darwin
10maintainers         gmail.com:starkhalo
11license             GPL-3+
12
13description         lightweight PDF and XPS viewer and parser/rendering library
14
15long_description    MuPDF is a lightweight PDF and XPS viewer and \
16                    parser/rendering library. \
17                    \
18                    The renderer in MuPDF is tailored for high-quality \
19                    anti-aliased graphics. It renders text with metrics and \
20                    spacing accurate to within fractions of a pixel for the \
21                    highest fidelity in reproducing the look of a printed \
22                    page on screen. \
23                    \
24                    MuPDF is also small, fast, and yet complete. It supports \
25                    PDF 1.7 with transparency, encryption, hyperlinks, \
26                    annotations, search and many other bells and whistles. \
27                    MuPDF can also read XPS documents (OpenXPS ECMA-388).
28
29homepage            http://www.mupdf.com/
30
31master_sites        ${homepage}downloads/
32distname            ${name}-${version}-source
33
34checksums           rmd160 368140a0f825483268faaf778328bc6c3f4d461f \
35                    sha256 018bab9520b5e93bb33ab07b0472fdf9f768c5801769f95b9a696941b633ec22
36
37use_configure       no
38
39depends_build       port:pkgconfig
40
41depends_lib         port:freetype \
42                    port:jbig2dec \
43                    port:jpeg \
44                    port:openjpeg \
45                    port:xorg-libXext \
46                    port:zlib
47
48build.args          PREFIX=${prefix}
49build.args-append   CC=${configure.cc} \
50                    CXX=${configure.cxx} \
51                    CPP=${configure.cpp}
52build.env           build=release \
53                    HAVE_CURL=no \
54                    verbose=1
55
56destroot.destdir    prefix=${destroot}${prefix}
57
58livecheck.type      regex
59livecheck.url       ${master_sites}
60livecheck.regex     ${name}-(\\d\\.\\d)-source