# -*- 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: Portfile 140657 2015-09-29 01:54:59Z mmoll@macports.org $ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 github.setup MurpheyLab trep 1.0.2 v name py-trep license GPL-3 maintainers mmoll openmaintainer description Module for modeling articulated rigid body mechanical \ systems in generalized coordinates. long_description Trep is a Python module for modeling articulated rigid \ body mechanical systems in generalized coordinates. Trep \ supports basic simulation but it is primarily designed to \ serve as a calculation engine for analysis and optimal \ control algorithms that require 1st and 2nd derivatives \ of the system's dynamics. homepage http://murpheylab.github.io/trep platforms darwin checksums md5 b2d2d66f7fbdb62d68a961f6468e8205 \ sha1 d372940115f9ed96b8dd1637d42a6f4478f4298a \ rmd160 99d24d8470511dcad4f84f37cf89912336f910b7 python.versions 27 if {${name} ne ${subport}} { # Can use either py*-pyqt4 or py*-pyqt4-devel. depends_lib port:py${python.version}-numpy \ port:py${python.version}-scipy \ port:py${python.version}-matplotlib \ port:py${python.version}-opengl \ path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 post-patch { reinplace "s|@PKGD@|${destroot}${python.pkgd}|g" ${worksrcpath}/setup.py } post-destroot { delete ${destroot}${prefix}/share/doc/${subport}/examples file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${subport} } livecheck.type none }