# -*- 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$ PortSystem 1.0 PortGroup python 1.0 PortGroup wxWidgets 1.0 name py-robotframework-ride set internal_name robotframework-ride version 1.2.3 license Apache-2 categories-append devel maintainers jwa description Robot Framework test case editor long_description ${description} homepage http://code.google.com/p/${internal_name} platforms darwin python.versions 26 27 python.default_version 27 master_sites googlecode:${internal_name} distname ${internal_name}-${version} checksums rmd160 9d481289f4a1fb0f29daff929de779dde4975675 \ sha256 b2f4a28400b206358c9b48c3378388f1ffc8ba16a1cfba064aed38803a71c5d1 if {${name} ne ${subport}} { build.cmd ${python.bin} setup.py destroot.cmd ${python.bin} setup.py depends_lib-append port:py${python.version}-robotframework \ port:py${python.version}-wxpython-2.8 \ port:py${python.version}-paver # TODO: this port probably needs a variant to switch between py-wxpython-2.8 and py-wxpython-3.0 # until it starts working properly on py-wxpython-3.0 if {${os.major}>=12} { depends_lib-delete port:py${python.version}-wxpython-2.8 depends_lib-append port:py${python.version}-wxpython-3.0 } post-extract { reinplace "s/pybot/pybot-${python.branch}/g" $worksrcpath/src/robotide/contrib/testrunner/runprofiles.py } # with 'py-wxpython-3.0' and 'py-wxpython-2.8 +gtk' this should not be needed # this should only be issued when depending on 'py-wxpython-2.8 +carbon' on 64-bit OS or deleted # notes "To run, use 'arch -i386 ride.py-${python.branch}' to use 32bit architecture" } if {${name} eq ${subport}} { livecheck.type regex livecheck.url ${homepage} livecheck.regex ${internal_name}-(\[0-9.\]+)\\.tar\\.\[bg\]z } else { livecheck.type none }