# -*- 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 106911 2013-06-11 14:40:14Z jmr@macports.org $ PortSystem 1.0 PortGroup python 1.0 set realname trep name py-${realname} version 0.92 revision 1 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://code.google.com/p/trep/ master_sites googlecode:${realname} platforms darwin distname ${realname}-v${version} use_bzip2 yes checksums md5 3008ce65392c619c53fe54abbd72db9a \ sha1 db29f2beddf7ec41eb3e5a1355f0bd1c51a919c6 \ rmd160 3aced8b304ffafdafb08a7c0ec75e69e79236a5c patchfiles patch-setup.py.diff python.versions 26 27 python.default_version 27 if {$subport != $name} { depends_lib port:py${python.version}-setuptools \ port:py${python.version}-numpy \ port:py${python.version}-scipy \ port:py${python.version}-matplotlib \ port:py${python.version}-opengl \ port:py${python.version}-pyqt4 \ port:py${python.version}-sphinx build.target-append build_sphinx post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} file copy ${worksrcpath}/examples \ ${destroot}${prefix}/share/doc/${subport}/examples file copy ${worksrcpath}/build/sphinx/html \ ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type regex livecheck.url http://code.google.com/p/trep/downloads/list livecheck.regex ${realname}-v(\[0-9.\]+)\\.tar }