Ticket #30493: Portfile-okular

File Portfile-okular, 1.5 KB (added by nicos_pavlov@…, 13 years ago)
Line 
1PortSystem          1.0
2PortGroup           kde4   1.1
3
4name                okular
5version             4.7.0
6categories          kde kde4
7maintainers         users.sourceforge.net:nicos_pavlov openmaintainer
8description         Universal document viewer for KDE4.
9long_description    Okular is a universal document viewer based on KPDF for KDE 4. \
10                    This means Okular works on multiple platforms, including but not \
11                    limited to Linux, Windows, Mac OS X, *BSD, etc.
12platforms           darwin
13homepage            http://okular.kde.org/
14master_sites        kde:stable/${version}/src/
15use_bzip2           yes
16distname            okular-${version}
17checksums           rmd160  79df11b21b9d59991a8ff96e67c835a9fcd70d9b \
18                    sha256  ae2dfa9128ce9a979afbb03fc1004d60a6bc12e3d0a29f60c0de060ba251dd04
19
20conflicts           kdegraphics4
21
22depends_lib-append  port:kdelibs4 \
23                    port:poppler port:libspectre \
24                    port:djvulibre port:chmlib \
25                    port:ebook-tools port:tiff \
26                    port:qca port:qimageblitz \
27                    port:freetype port:zlib
28
29pre-configure {
30    if {![file exists ${prefix}/lib/libpoppler-qt4.dylib]} {
31        return -code error "Poppler must be installed with +qt4\
32                            and +quartz variants"
33    }
34}
35
36livecheck.url       http://mirrors.ibiblio.org/pub/mirrors/kde/stable/latest/src/
37livecheck.regex     okular-(\\d+\\.\\d+\\.\\d+)${extract.suffix}