# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name python-poppler-qt4 set _n [string index ${_name} 0] name py-poppler-qt4 version 0.24.0 platforms darwin license LGPL-2.1+ maintainers gmail.com:davide.liessi openmaintainer description Python binding for Poppler-Qt4 long_description ${_name} is a Python binding for Poppler-Qt4 \ that aims for completeness \ and for being actively maintained. \ Using this module you can access \ the contents of PDF files \ inside PyQt4 applications. homepage https://github.com/wbsoft/${_name} master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 4d9dd4e5a83aa4f81753e1ff9e313908 \ rmd160 8674296b8e224e181537e798cd219aeb30ff7561 \ sha256 29ad1d2246a4733d8fdc8f640a470733c61eea98f923af061c98cc497db4c374 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:pkgconfig # Can use either py*-pyqt4 or py*-pyqt4-devel. depends_lib-append port:poppler-qt4-mac \ port:qt4-mac \ port:py${python.version}-sip \ path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 post-destroot { set doc_dir ${destroot}${prefix}/share/doc/${subport} xinstall -d ${doc_dir} xinstall -m 644 -W ${worksrcpath} \ ChangeLog \ LICENSE \ README.rst \ ${doc_dir} set examples_dir ${destroot}${prefix}/share/examples/${subport} xinstall -d ${examples_dir} xinstall -m 644 -W ${worksrcpath} demo.py ${examples_dir} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name} livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }