source: trunk/dports/kde/okular/Portfile @ 126352

Last change on this file since 126352 was 126352, checked in by nicos@…, 5 years ago

kdegraphics ports: update to 4.13.3, review dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
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: Portfile 126352 2014-10-08 15:58:10Z nicos@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4   1.1
6
7name                okular
8version             4.13.3
9categories          kde kde4
10license             GPL-2+ LGPL-2+
11maintainers         nicos openmaintainer
12description         Universal document viewer for KDE4.
13long_description    Okular is a universal document viewer based on KPDF for KDE 4. \
14                    This means Okular works on multiple platforms, including but not \
15                    limited to Linux, Windows, Mac OS X, *BSD, etc.
16platforms           darwin
17homepage            http://okular.kde.org/
18master_sites        kde:stable/${version}/src/
19use_xz              yes
20distname            okular-${version}
21checksums           rmd160  bc93b1b5a608d324d45609f1c7ebeeff2b2e214b \
22                    sha256  3047ab703bc5447d22a7c6a308910a70afee82d603c7f5b37a6d5a0976511f5d
23
24#parttest cannot link to okularpart on Mac, as it is a bundle (.so) file
25patchfiles          patch-OkularPart.diff
26
27#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
28license_noconflict  openssl
29
30# okular will use libkexiv2 if available
31# add dependency to ensure a consistent build
32
33depends_lib-append  port:kdelibs4 \
34                    port:kactivities \
35                    port:oxygen-icons \
36                    port:mobipocket \
37                    port:poppler-qt4-mac port:libspectre \
38                    port:djvulibre port:chmlib \
39                    port:ebook-tools port:tiff \
40                    port:qca port:qimageblitz \
41                    port:freetype port:zlib \
42                    port:libkexiv2 \
43                    port:jpeg
44
45post-destroot {
46    #Okular does not handle *.dylib plugins (ticket #42603)
47    ln -s ${prefix}/lib/kde4/okularpart.dylib \
48        ${destroot}${prefix}/lib/kde4/okularpart.so
49}
50
51livecheck.url       http://kde.mirrors.hoobly.com/stable/
52livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.