source: trunk/dports/kde/okular/Portfile

Last change on this file was 145842, checked in by devans@…, 21 months ago

kdelibs4, okular: increment revision to rebuild with libqca after change in install path in r145233.

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