# -*- 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 PortSystem 1.0 PortGroup python 1.0 name py-xhtml2pdf version 0.2.17 revision 0 categories-append textproc license Apache-2 maintainers nomaintainer description HTML/CSS to PDF converter based on Python long_description {*}${description} homepage https://github.com/xhtml2pdf/xhtml2pdf supported_archs noarch platforms {darwin any} checksums rmd160 214c4ad92d0a308488515c1a0331e8a830738e1a \ sha256 09ddbc31aa0e38a16f2f3cb73be89af5f7c968c17a564afdd685d280e39c526d \ size 139727 python.versions 310 311 312 313 314 if {${name} ne ${subport}} { depends_lib-append \ port:py${python.version}-arabic-reshaper \ port:py${python.version}-bidi \ port:py${python.version}-html5lib \ port:py${python.version}-hanko \ port:py${python.version}-Pillow \ port:py${python.version}-pypdf \ port:py${python.version}-reportlab \ port:py${python.version}-svglib post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \ ${destroot}${docdir} } }