1 | PortSystem 1.0 |
---|
2 | PortGroup kde4 1.1 |
---|
3 | |
---|
4 | name okular |
---|
5 | version 4.7.0 |
---|
6 | categories kde kde4 |
---|
7 | maintainers users.sourceforge.net:nicos_pavlov openmaintainer |
---|
8 | description Universal document viewer for KDE4. |
---|
9 | long_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. |
---|
12 | platforms darwin |
---|
13 | homepage http://okular.kde.org/ |
---|
14 | master_sites kde:stable/${version}/src/ |
---|
15 | use_bzip2 yes |
---|
16 | distname okular-${version} |
---|
17 | checksums rmd160 79df11b21b9d59991a8ff96e67c835a9fcd70d9b \ |
---|
18 | sha256 ae2dfa9128ce9a979afbb03fc1004d60a6bc12e3d0a29f60c0de060ba251dd04 |
---|
19 | |
---|
20 | conflicts kdegraphics4 |
---|
21 | |
---|
22 | depends_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 | |
---|
29 | pre-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 | |
---|
36 | livecheck.url http://mirrors.ibiblio.org/pub/mirrors/kde/stable/latest/src/ |
---|
37 | livecheck.regex okular-(\\d+\\.\\d+\\.\\d+)${extract.suffix} |
---|