# -*- 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 92860 2012-05-09 06:24:45Z jwa@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name				py-robotframework-seleniumlibrary
set internal_name	robotframework-seleniumlibrary

version             2.9
categories-append   devel
maintainers         jwa
description         Robot Framework library to run web-based tests
long_description    Library to run web-based tests with Selenium \
    using Selenium server included in the package

homepage	http://code.google.com/p/${internal_name}

platforms           darwin
python.versions		26 27
python.default_version	27

master_sites        http://${internal_name}.googlecode.com/files/
distname            ${internal_name}-${version}

checksums           rmd160  0ba8b2a4f144f20edef00a7072c1501e03748095 \
                    sha256  7f79a78abe57b149a418f4a16dbbeba3ddb87cef3afbd16d05ad1306f1771d3f

if {$subport != $name} {
    depends_lib-append	port:py${python.version}-robotframework
}

if {$subport == $name} {
    livecheck.type		regex
    livecheck.url		${homepage}
    livecheck.regex		${internal_name}-(\[2-9\]\\.\[0-9.\]+)\\.tar\\.\[bg\]z
} else {
    livecheck.type		none
}

