# -*- 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 PortGroup bitbucket 1.0 bitbucket.setup birkenfeld sphinx-contrib a311ef7908cb name py-sphinx-contrib version 0.0.20170205 categories-append textproc devel license BSD maintainers nomaintainer description Sphinx extensions long_description \ This is a collection of Sphinx extensions maintained by their respective authors. \ It is not an official part of Sphinx. platforms {darwin any} supported_archs noarch checksums rmd160 05aa4a069b9ecebc8b2d17d9e434f7399184019a \ sha256 feab8a84673d993bf288f69bde569e8ac3398d5b34af981e2900aaff6bfb082d python.versions 27 if {$subport ne $name} { depends_lib port:py${python.version}-sphinx livecheck.type none post-patch { reinplace -W ${worksrcpath}/ansi "s,README,README.rst," setup.py reinplace -W ${worksrcpath}/cheeseshop "s,README,README.rst," setup.py reinplace -W ${worksrcpath}/clearquest "s,README,README.rst," setup.py reinplace -W ${worksrcpath}/email "s,README,README.rst," setup.py reinplace -W ${worksrcpath}/hyphenator "s,README,README.rst," setup.py } build { foreach d [glob -type d -directory ${worksrcpath} *] { if {[file exists $d/setup.py] && ![string match "*cmakedomain" $d] && ![string match "*_template*" $d] } { system -W $d "${build.cmd} ${build.target}" } } } destroot { foreach d [glob -type d -directory ${worksrcpath} *] { if {[file exists $d/setup.py] && ![string match "*cmakedomain" $d] && ![string match "*_template*" $d] } { system -W $d "${destroot.cmd} ${destroot.target} ${destroot.destdir}" } } } }