# -*- 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-swiginac version 1.5.1.1 platforms darwin license GPL-2 maintainers {gmail.com:mark.brethen @mbrethen} description interface to GiNaC providing Python with symbolic mathematics long_description ${description} homepage \ https://web.archive.org/web/20140429044739/http://swiginac.berlios.de/ master_sites sourceforge:swiginac.berlios distname swiginac-${version} extract.suffix .tgz checksums \ sha256 e019b40cac29b070e72432b97cc857682da416e55c26bde412bfaa7513893eb5 \ rmd160 9b473942a8a4b010ddd4d51ec19b84d3f83a2c5c python.versions 27 if {${name} ne ${subport}} { patchfiles patch-setup.py.diff depends_build-append \ port:pkgconfig \ port:py${python.version}-setuptools depends_lib-append port:GiNaC \ port:swig post-destroot { set docswiginacdir \ ${destroot}${prefix}/share/doc/py${python.version}-swiginac set docdir ${docswiginacdir}/doc set examplesdir ${docdir}/examples xinstall -d ${docswiginacdir} ${docdir} ${examplesdir} xinstall -m 644 ${worksrcpath}/ChangeLog ${docswiginacdir} xinstall -m 644 ${worksrcpath}/README.txt ${docswiginacdir} xinstall -m 644 {*}[glob ${worksrcpath}/doc/swiginac*.*] ${docdir} xinstall -m 644 ${worksrcpath}/doc/html4css1.css ${docdir} xinstall -m 644 {*}[glob ${worksrcpath}/doc/examples/*.py] \ ${examplesdir} } livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} }