Commits
Davide Liessi authored and Perry E. Metzger committed 9a2791b6d2c
1 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 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup qt5 1.0 |
5 5 | PortGroup python 1.0 |
6 6 | PortGroup cxx11 1.1 |
7 7 | |
8 8 | name py-poppler-qt5 |
9 9 | python.rootname python-poppler-qt5 |
10 10 | set _n [string index ${python.rootname} 0] |
11 11 | version 0.24.2 |
12 - | revision 3 |
12 + | revision 4 |
13 13 | platforms darwin |
14 14 | license LGPL-2.1+ |
15 15 | maintainers {gmail.com:davide.liessi @dliessi} openmaintainer |
16 16 | |
17 17 | description Python binding for Poppler-Qt5 |
18 18 | long_description ${python.rootname} is a Python binding for Poppler-Qt5 \ |
19 19 | that aims for completeness \ |
20 20 | and for being actively maintained. \ |
21 21 | Using this module you can access \ |
22 22 | the contents of PDF files \ |
29 29 | checksums md5 1f45ed0f7f3cacc1d0f9e626bd5fb5c8 \ |
30 30 | rmd160 baa134c6a9e466dddcb15a23f7238b88d1eed8af \ |
31 31 | sha256 3970c35ce1f0f1464a6c2746bea4c479b9780b4e17030c92479f7f1738a5c950 \ |
32 32 | size 20944 |
33 33 | |
34 34 | python.versions 27 34 35 36 |
35 35 | |
36 36 | if {${name} ne ${subport}} { |
37 37 | depends_build-append port:py${python.version}-setuptools |
38 38 | |
39 - | depends_lib-append port:qt5 \ |
40 - | port:poppler-qt5 \ |
39 + | depends_lib-append port:poppler-qt5 \ |
41 40 | port:py${python.version}-sip \ |
42 41 | port:py${python.version}-pyqt5 |
43 42 | |
44 43 | patchfiles patch-fix-qtxml.diff \ |
45 44 | patch-fix-qt-dirs.diff \ |
46 45 | patch-fix-cxx11.diff \ |
47 46 | patch-fix-demo.diff \ |
48 47 | patch-types.sip.diff |
49 48 | |
50 49 | post-patch { |
51 - | reinplace "s|%%QMAKE%%|${qt_bins_dir}/qmake|g" ${worksrcpath}/setup.py |
50 + | reinplace "s|%%QMAKE%%|${qt_qmake_cmd}|g" ${worksrcpath}/setup.py |
52 51 | reinplace "s|%%PYQTSIPDIR%%|${python.prefix}/share/sip/PyQt5/|g" ${worksrcpath}/setup.py |
53 52 | } |
54 53 | |
55 54 | post-destroot { |
56 55 | set doc_dir ${destroot}${prefix}/share/doc/${subport} |
57 56 | xinstall -d ${doc_dir} |
58 57 | xinstall -m 644 -W ${worksrcpath} \ |
59 58 | ChangeLog \ |
60 59 | LICENSE \ |
61 60 | README.rst \ |