# -*- 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 78456 2011-05-08 10:18:27Z jwa@macports.org $

PortSystem          1.0
PortGroup           python27 1.0

name                py27-robotframework
set internal_name   robotframework

version             2.5.7

categories-append   devel
maintainers         jwa
description         ATDD framework
long_description    ATDD framework with plugins

homepage	http://robotframework.org/

platforms           darwin

universal_variant	yes
configure.build_arch	i386

master_sites        http://robotframework.googlecode.com/files/
distname            ${internal_name}-${version}
#use_bzip2           yes

checksums           md5     2802b75847411ffba28a3fb6f1b2e8f3 \
                    sha1    5f0279bf169e6890f2c748a7311365b1cd4d2623 \
                    rmd160  965f1c74cbc1af7ed37e6ba22e093f561cad74a8

post-destroot		{
    reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/pybot
    reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/jybot
    reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/rebot
}

livecheck.type     regex
livecheck.url      ${homepage}
livecheck.regex    ${internal_name}-(2\\.\[0-9\]+\\.\[0-9\])\\.tar\\.\[bg\]z
